How to batch rename all parts in an assembly with sequential serial numbers? (Creo Elements/Direct Modeling)
Software: Creo Elements/Direct Modeling 19.0
Goal: I am looking for a way to automatically rename all components (parts and assemblies) within a specific top-level assembly using a sequential naming convention (e.g., PART-001, PART-002, PART-003...).
Details: Doing this manually in the Structure Browser is extremely time-consuming for large assemblies. I would like to find a solution (either a built-in command or a LISP script) that allows me to:
-
Select a Parent Assembly.
-
Define a Prefix (e.g., "MYSYSTEM-").
-
Automatically apply a three-digit increment (001, 002...) to all children.
Questions:
-
Is there a hidden command in the standard UI that supports "Prefix + Increment" renaming?
-
If not, does anyone have a LISP macro or utility that can automate this task?
-
Are there any "Best Practices" to avoid naming conflicts when doing this in a large session?
Any help, sample code, or advice would be greatly appreciated. Thank you!

