Jegsaran
Automotive
- Dec 16, 2020
- 41
I'm working on a macro which copy/paste a product into a new product document and constrain it.
Whenever I paste the product in an assembly in new product document it changes the sub-assy into flexible sub-assembly.
I tried Catia.StartCommand("Flexible/Rigid Sub-Assembly"). But if the sub-assy is rigid, it changes to flexible.
All I want is to check whether the sub-assy flexibe/rigid. If flexible want to change as rigid.
Whenever I paste the product in an assembly in new product document it changes the sub-assy into flexible sub-assembly.
I tried Catia.StartCommand("Flexible/Rigid Sub-Assembly"). But if the sub-assy is rigid, it changes to flexible.
All I want is to check whether the sub-assy flexibe/rigid. If flexible want to change as rigid.