cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

VB API: Faster way to read/export model tree?

lheller
1-Visitor

VB API: Faster way to read/export model tree?

Hello,


I am currently using the AssemblyUtilities class provided by PTC, which calls the listSubAssemblyComponent subroutine to traverse our model tree.


As I’m moving through the model tree, I’m checking two parameter values and the status of each component (ignoring suppressed or inactive statuses) to determine if I should add each component to a list components that I’m building.


Unfortunately, this process takes between five and nine minutes to complete, depending upon the complexity of the assembly.


Is there a faster way to “dump” the entire model tree, along with component statuses and a couple of parameter names, to a file that could be parsed quickly? Or does someone have code that traverses the entire model tree more quickly?


I just seems like reading Pro/E data should be much faster.


Thank you.


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.
1 REPLY 1

Sounds like something Nitro-BOM does for the most part...

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags