A Selection window will appear, asking you to select the instances (parts or products) you want to rename.
The macro will automatically rename the selected instances by appending an incrementing number to their base name.
Once the operation is complete, a message box will appear confirming the successful renaming of the instances.
This macro works in the Product Design environment in CATIA and automatically renames selected instance objects (parts or products). It appends an incrementing number to the base part number for each instance. If an instance with the same name already exists, the macro continues to increment the number until a unique name is found.
This process helps in creating a structured naming convention, especially in complex assemblies, ensuring each instance has a unique name.
This macro works in the Product Design environment and requires at least one product document to be open.