tags:

views:

58

answers:

0

Hi :), I am trying to get the XElement representing the contents of a Viewport3D control in a form in WPF.

If I do this: XamlWriter.Save(Viewport3DName)

then the attributes of the contents of the Viewport3D are not saved by the XamlWriter.

I thnk its described here: http://msdn.microsoft.com/en-us/library/ms754193.aspx

My aim is to get the structure of the contents of the Viewport along with names of 3D objects contained within.

Is there a workaround to this? Is there an alternative way to accomplish the same task?

Any help would is welcomed.

Thanks

Q