Hello,
I have a question about Creo 2.0 and wildfire 4.0 toolkit differences in how code works. I have a toolkit that uses the function ProSolidDispCompVisit to visit all the subcomponents on an assembly, this function works fine in Wildfire 4.0 and it gives me all the child components on all levels for my assembly no matter how deep the tree is, this function gives me all the parts and assemblies under my root assembly, just what I need.
The problem now is I'm going to use Creo 2.0 (datecode M30) and we are updating our code to deal with it. My surprise is that the same code that works fine on Wildfire 4.0 now only gives me the child components contained on the first level of my assembly and it doesn't navigate under those first child, so I can retrieve all assembly levels. It looks like something has changed inside the implementation of toolkit function ProSolidDispCompVisit from Wildfire 4.0 to Creo 2.0 and now only retrieves the first level of the tree. Anyone knows if that is true? Has ProSolidDispCompVisit changed on Creo 2.0? If that's the reason why it not works, how I can retrieve all the child from an assembly in Creo 2.0?
Thanks in advance!!!
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.