For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

OCC XML Output

Baba Ali's picture
Forums: 

Dear Forum Readers,

I am curious about the OCC XML process. I did following steps with drawexe:

> pload ALL
> NewDoc d XmlXCAF
> box box1 10 10 10
> XAddShape d box1 1
> XSave d /pathto/test.xml

briefly I created a box and add shape into document which is formatted to XML. Then I reload the xml file with following and saw the geometry:

> Open /pathto/test.xml d2
> XShow d2

As I understood this XML file contain geometrical information? I open the xml file with text editor but there is just numbers coded within tag. What is the OCC write in this XML file?
How I can arrange to this xml file to make more human readable? I mean I want to see a tag with , etc. I looked at LDOM_XmlWriter and XmlDrivers_DocumentStorageDriver but I couldnt figure out.

Could you please help me on this?
Best Regards

CONNECT WITH US

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.