MACRO PART NUMBER WILL BE THE SAME AS INSTANCE NAME, HELP
MACRO PART NUMBER WILL BE THE SAME AS INSTANCE NAME, HELP
(OP)
hi all,
i would like to create a macro that will change part number and will be the same as instance name.
because when i'm exporting catia product to 3dxml file it copies both partnumber and instance name in the specification tree, I only need to show instance name.
thank you and regards,
i would like to create a macro that will change part number and will be the same as instance name.
because when i'm exporting catia product to 3dxml file it copies both partnumber and instance name in the specification tree, I only need to show instance name.
thank you and regards,





RE: MACRO PART NUMBER WILL BE THE SAME AS INSTANCE NAME, HELP
- you need to go with recursive script
- you should avoid instance with same name in a product level, as the script should not take long to run, you can think about using 2 passes, first one with dummy name or dummy number to clean everything then second pass would make it good.
- you can use object Dictionary to easily keep track of number of instance of a partnumber.
post your progress I'll helpindocti discant et ament meminisse periti
RE: MACRO PART NUMBER WILL BE THE SAME AS INSTANCE NAME, HELP
You can try also something else, results may be different
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU
RE: MACRO PART NUMBER WILL BE THE SAME AS INSTANCE NAME, HELP
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU
RE: MACRO PART NUMBER WILL BE THE SAME AS INSTANCE NAME, HELP
RE: MACRO PART NUMBER WILL BE THE SAME AS INSTANCE NAME, HELP