Skip to main content
15-Moonstone
March 2, 2023
Solved

AFX conenctor/equipment element_name

  • March 2, 2023
  • 1 reply
  • 2198 views

Hey,

 

Is there a way to change to the basic element names in AFX? I know there is element_name.txt, but that also use the ELEMENT_NAME but I want to change that.

 

Thank you!

Best answer by SamuelBrantner

Hi @mvitárius,

 

you can achieve that with the custom_modelnames.txt file. 

There should be a template folder called customization in your afx directory.

 

Inside you'll find text/<LANG>/custom_modelnames.txt

 

Simply add those lines as an example for your element:

verbinder_45_45_1
BOSCH_REXROTH_3842543403
BOSCH_REXROTH_3842543403

 

Also make sure to copy that file into all language folders you are planning to use the element in.

 

To figure out the real model name of the element you'll need to dig into the "afx/parts/... " directory and figure out the original name of the element. Best way to do this is to check the sel_list.txt file. It has the same order as the dialog inside of Creo.

 

I hope this helps.

 

Greetings Sam

 

1 reply

16-Pearl
March 2, 2023

Hi @mvitárius ,

 

can you give an example of what you want to achieve? 

 

Maybe when I understand what you want to do I can help you.

 

Greetings Sam

 

15-Moonstone
March 3, 2023

mvitrius_0-1677824142679.png

I attached a picture what I want.

16-Pearl
March 6, 2023

Hi @mvitárius,

 

you can achieve that with the custom_modelnames.txt file. 

There should be a template folder called customization in your afx directory.

 

Inside you'll find text/<LANG>/custom_modelnames.txt

 

Simply add those lines as an example for your element:

verbinder_45_45_1
BOSCH_REXROTH_3842543403
BOSCH_REXROTH_3842543403

 

Also make sure to copy that file into all language folders you are planning to use the element in.

 

To figure out the real model name of the element you'll need to dig into the "afx/parts/... " directory and figure out the original name of the element. Best way to do this is to check the sel_list.txt file. It has the same order as the dialog inside of Creo.

 

I hope this helps.

 

Greetings Sam