Skip to main content
11-Garnet
February 14, 2025
Question

parameter model name

  • February 14, 2025
  • 3 replies
  • 699 views

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

Van_AG
15-Moonstone
February 14, 2025

In the part template write down the relation

MODEL_NAME=rel_model_name+".prt"

In the assembly template

MODEL_NAME=rel_model_name+".asm"

Community Moderator
February 20, 2025

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.

23-Emerald III
March 27, 2025

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.