cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

parameter model name

TP_10167633
11-Garnet

parameter model name

Hi

I wold like to have parameter whit part name.

But not only name also  whit .prt  or .asm  at the end.

If i made whit relations  model_name=rel_model_name i get only name.

example  model name : Plate.prt   parameter -Plate

i would like to have

model name : Plate.prt    parameter -Plate.prt

How can i do that.

 


3 REPLIES 3
Van_AG
14-Alexandrite
(To:TP_10167633)

In the part template write down the relation

MODEL_NAME=rel_model_name+".prt"

In the assembly template

MODEL_NAME=rel_model_name+".asm"

Hello @TP_10167633

 

It looks like you have a response from a community member. If it helped you solve your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

BenLoosli
23-Emerald III
(To:TP_10167633)

I you are using Windchill, these parameters are automatic. Look in the parameter table.

Writing the relations is the way to go if no Windchill.

Announcements
NEW Creo+ Topics: Real-time Collaboration

Top Tags