Hello!
CatiaV5 scripting question:
Do you need to include some scripting code to activate ( Highlighted blue ) a selected CATPart/CATProduct in order to save it to a new file name?
I have read several earlier posts related to this topic but things like .Activate or SendKeys doesn't seem to work. ( Mainly examples are old and don't
seem to work now with CatiaV52012 or later or I get compile errors )
I have written a macro that loops thru the contents of a sub assembly, fills out some user properties, and assigns a new Part Number if the current part number
does not follow a specified format. So far this part of the macro works well. I would like to include a feature that if the macro does assign a new part number
to save that CATPart or CATProduct to a file with a name that matches the new Part Number.
Can anybody help me with this? I want to make sure that when Catia performs a save file it is saving the correct highlighted blue CATPart/Product.
Thanks!
Tom
PS I am using CatiaV52012 and sometimes CatiaV52013 pending upon which customer we are doing the design work for.
CatiaV5 scripting question:
Do you need to include some scripting code to activate ( Highlighted blue ) a selected CATPart/CATProduct in order to save it to a new file name?
I have read several earlier posts related to this topic but things like .Activate or SendKeys doesn't seem to work. ( Mainly examples are old and don't
seem to work now with CatiaV52012 or later or I get compile errors )
I have written a macro that loops thru the contents of a sub assembly, fills out some user properties, and assigns a new Part Number if the current part number
does not follow a specified format. So far this part of the macro works well. I would like to include a feature that if the macro does assign a new part number
to save that CATPart or CATProduct to a file with a name that matches the new Part Number.
Can anybody help me with this? I want to make sure that when Catia performs a save file it is saving the correct highlighted blue CATPart/Product.
Thanks!
Tom
PS I am using CatiaV52012 and sometimes CatiaV52013 pending upon which customer we are doing the design work for.