Skip to main content
7-Bedrock
May 24, 2024
Solved

afx equipments autonumbering and custom relation/parameters

  • May 24, 2024
  • 1 reply
  • 3229 views

Dear all,

I'm on Creo 8.0.10.0 connected to WNC 12.0.2.10 and I'm configuring some custom AFX  profiles/connectors and equipments.

With the first try with profiles I get the expected result, selecting the custom profile it will  take the autonumbering from windchill and also all parameter from start_mdl.cfg and relations from param_relations.txt.

Then I tried to configure an equipment and i'm not able to have at the same time the autonumbering and the parameter populated correctly.

In the customization\parts\equipment i've filtered out the equipments I dont want to see and then added to the correct subfolder the sel_list.txt to change the endcap_square from part_copy to part, in this way I'm having all the attribute/relations copied to the selected equipment but i'm not able to get the autonumbering and the part will remain with original name.

To the other side if I keep the sel_list as it is, I receive the correct renumbering from Windchill but the equipment is not containing parameter/relations I want to add to it.

 

Regards

 

A

Best answer by SamuelBrantner

Hi @AndreaC ,

 

okay so the issue is the combination of your afx_options. You set REMOVE_PROFILE_FILES_AFTER_ASSEMBLY to NO. That means, that all created elements end up in the workspace. AFX then thinks the element comes from Windchill and does not add start_mdl config. 

In order to fix that you will need to set advanced option: DO_NOT_ADD_BOM_INFO_TO_PDM_OBJECTS to NO.

 

Greetings Sam

 

1 reply

16-Pearl
May 28, 2024

Hi @AndreaC ,

 

did you also put a element_name.txt file in the connector/equipment directories?

 

See documentation:

https://support.ptc.com/help/creo/creo_pma/r11.0/usascii/#page/advanced_framework/To_Define_a_Component_Naming_Scheme.html

 

Also I do not understand why you want to change from part_copy to part. In that case the files are typically not renamed.

 

Greetings Sam

 

 

AndreaC7-BedrockAuthor
7-Bedrock
May 28, 2024

@SamuelBrantner wrote:

did you also put a element_name.txt file in the connector/equipment directories

 


Yes, I did

 


@SamuelBrantner wrote:

Also I do not understand why you want to change from part_copy to part. In that case the files are typically not renamed.

 

I was just trying to find a solution to my problem.

If I keep "part_copy" any customization is applied to the equipment, like all start_mdl.cfg or any param_relations,txt.

AndreaC_0-1716892457792.png

 

Using "part" it get the correct values of all of them as expected but in that case the internal name is used and unfortunately if I would apply the same equipment with different values it will impact all the other that have been created starting from the same object in the library.

I dont know if there is a bug in the application.

 

Regards

A

 

16-Pearl
May 28, 2024

Okay so you want to have part_copy, but you don't want to have the start_mdl.cfg applied? 
The param_relations you can change for each element so that should not be an issue. 

 

You can try to add integer parameter BUW_BOM_INFO_CREATED = 1 to the template. That should prevent AFX from adding start_mdl.cfg to the element.