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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

ProMdlLoad

Ketan_Lalcheta
19-Tanzanite

ProMdlLoad

Hello

 

If i use API ProMdlLoad() to open assembly in Creo, is it necessary that all parts and subassemblies are available into directory?

 

If yes, is there a way to fetch tree structure of assembly (Name of parts and sub assemblies) provided only only assembly file is available with me.

 

Thanks and Regards

Ketan

1 REPLY 1

Its the same as you open in manually in Creo. So you need to be able to loade the parts / subassemblies from the current Directory (Working Directory) or from the search path order.

 

So it should be possible to load the model since WF 5.0 if you have the config value of regen_failure_handling on no_resolve_mode. So he loads the assembly with failures on the Component KE's. After that you should be able to readout the first level of dependencies, or the first level of component features that are build in.

 

I haven't checked that, but I think I have done that in the past.

 

Br,

Eike

Top Tags