Skip to main content
1-Visitor
November 30, 2011
Question

XML dependancy tree

  • November 30, 2011
  • 3 replies
  • 1209 views

Hi,


We have a requirment to get an XML dependancy tree for an assmebly, This is for the pupose of transfering data from Pro/Engineer to other CAD. Is there any possiblity with Pro/Toolkit to get the XML for the Assembly model tree.


Thanks in Advance.



Joseph


Caterpillar India


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

3 replies

1-Visitor
November 30, 2011

Hi Joseph,


This is possible by traversing the assembly components using protoolkit API's.


Vaibhav

1-Visitor
November 30, 2011

Hi,


Thanks for the reply. Yes it is very much true that we can visit the assembly and we can write the XML ourself. I am looking some API or method will do this by itself.


Regards,


Joseph

13-Aquamarine
November 30, 2011
Joseph,
You might want to try the API ProOutputFileWrite passing the type of PRO_BOM_FILE.

Patrick Williams | Engineering Systems | o: 616.698.3766 | c: 616.947.2110
[cid:image001.jpg@01CCAF51.76687230]