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?
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.