How to Create Custom Parameters for Auto-naming in Creo Parametric?
Hello everyone,
I'm currently working on implementing an auto-naming system for parts and assemblies in Creo Parametric. My goal is to have the name generated based on a combination of a unique identifier and the type of part (Mechanical, Electrical, etc.). The idea is to have a function like this:
new_name = "PART_" + TYPE_SELECTION + "_" + UNIQUE_ID
For the TYPE_SELECTION, I want to create a dropdown list of options, and for UNIQUE_ID, I'm looking for a way to make it increment by 1 automatically each time a new part is created.
I was able to add basic parameters via Tools > Parameters, but I'm not quite sure how to make TYPE_SELECTION a list of predefined options or how to auto-increment UNIQUE_ID.
Does anyone have experience setting up something similar? Any guidance or tips would be greatly appreciated!

