Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi,
I'm using Creo Parametric 3.0 with basic AFX licension right now. In my project need numerical names for all profiles (e.g.: J900-000-01, J900-000-02, J900-000-03, etc... inside the assembly). I noticed that Creo automatically increments newly created profiles by giving them my-prefix_profile-type-name_auto-increment-number name (e.g.: J900-000_PROFILE_45X90_1). the only thing I need is to remove the _PROFILE_45X90_ suffix which Creo adds automatically. I tried to find it out but even inside Project Parameters I didn't found the option which could be helpfull.
Do you know how can I achieve that?
Thank you in advance for all replies!
Solved! Go to Solution.
Hi, Sam,
Huge thanks for your reply! That's exactly what I was looking for. I've got created this element_name.txt file but I've no idea how to load it into specific Creo project. I ain't found no info about this in manual inside AFX tab. Also tried to find some global or AFX option in Creo which would be responsible for it but cannot see such the option. Do you know how to load this file so that it could works with particular project (or maybe even globally)?
Hi @cadbart ,
you just place the file into creo_install/common files/afx/parts/ and then into the folders that should use it.
For example if you place it in profiles then all profiles will from now on have that modelnames.txt configuration applied.
Repeat the process for all folders if you want to use the same scheme for all new AFX models.
Hope this helps.
Greetings Sam
Sam, it works perfectly, thank you very much! The last thing I'd like to improve is to add preceding zeros for numbers from 1 to 9. Now my configuration is: PROJECT_SHORT#-#ELEMENT_NUMBER and while creating new AFX project I give the name which should be constant for all profile (e.g. J10-002 - this name will be served by PROJECT_SHORT parameter) and then Creo automatically adds incremental numbers starting from 1 (it is served by ELEMENT_NUMBER param). In effect I receive the names like this: J10-002-1, J10-002-2, J10-002-3, ..., J10-002-10, J10-002-11, and so on. I'd love Creo to create the names in which the last part of this name is always two-digit. So in this example it should be: J10-002-01, J10-002-02, J10-002-03, ..., J10-002-10, J10-002-11, and so on. Is it possible for Creo to add these preceding zeros for numbers from 1 to 9?
Hi @cadbart ,
sure that is no porblem. Just open AFX Options dialog and change the option ELEM_NUMBER_DIGITS to the desired amount.
Hope that solves that issue.
Greetings Sam
Oh yes, now it's perfectly great! Thank you very much Sam for your replies, these were hugely helpful.
Greetings!