Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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.