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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

How to create the parameter UPLOAD_SOFT_TYPE for harness mfg assemblies by toolkit

jzwijsen
7-Bedrock

How to create the parameter UPLOAD_SOFT_TYPE for harness mfg assemblies by toolkit

We are setting up a PDMLink system with multiple organizations. As each organization has it own parameters we defined for each organization its own CAD document subtype. To get a ProE object checked in as the correct CAD doc subtype we have to set the parameter UPLOAD_SOFT_TYPE to the appropiate value. You can either do this by providing the parameter in the template or by checking for the existence of the parameter when saving and creating it with toolkit. Works fine for almost all ProE objects except for a harness manufacturing file. When trying to create the parameter for the current model by toolkitit returns an error in case of a harness mfg assembly. And there doesn't exist a template for the harness manufacturing .asm file neither (only for the harness part and the flat assembly). Any ideas how to set the parameter by toolkit?


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.
2 REPLIES 2

Figured out that if you open a harness manufacturing asm, ProMdlCurrentGet does give you a handle to the asm file but to the mfg (at the time of at least Wildfire 2 this was even a separate file). So you should use ProMfgAssemGet on the current model to get handle to the asm file. With this handle you can set the parameter.

Thanks for sharing this knowledge,


I search for that in the past : ) Now I can solve that problem ^.^ Thanks.


Best regards,


Eike

Announcements


Top Tags