Skip to main content
Aug 7, 2017 4:16 PM UTC
Solved

Basic Question: is it possible to rename a dimension with the name of a parameter (input param)?

Hi,

Is it possible to rename a dimension with a parameter name defined in the "input" block in Pro/Program?

So to spare a relation like

d1=par1

 

Thanks,

Nic.

Aug 8, 2017 5:13 AM UTC

Hi,

 

you can define following INPUT section for your d1 dimension. In such case you can remove par1 parameter from your model.

 

INPUT
 D1 NUMBER
END INPUT

 

If you modify d1 dimension properties and change its symbol name from d1 to somethingelse, then you can define following INPUT section.

 

INPUT
 SOMETHINGELSE NUMBER
END INPUT

17 replies

Aug 7, 2017 4:30 PM UTC

d1 is a symbol.  You can made d1=anything.  But the dimension is still d1.

However, you can rename the symbol to something else.

Aug 7, 2017 4:45 PM UTC

It's simple enough to find out. Why don't you try it?

You'll find out that it will give you an error like "d1" already used. You can't have two things with the same name in a session. This applies to parts, assemblies, dimensions, parameters, etc. Creo (apparently) maintains a namespace with no duplicate names allowed. A name can refer to a lot of different things, but no two names can be identical.

Aug 7, 2017 5:50 PM UTC

Select the dimension and choose "properties" You can rename the dimension there.

Aug 7, 2017 5:53 PM UTC

What I do for my family tables is to rename the d1 in properties to par1. Then add the input section of pro/program.

 

Aug 8, 2017 5:13 AM UTC

Hi,

 

you can define following INPUT section for your d1 dimension. In such case you can remove par1 parameter from your model.

 

INPUT
 D1 NUMBER
END INPUT

 

If you modify d1 dimension properties and change its symbol name from d1 to somethingelse, then you can define following INPUT section.

 

INPUT
 SOMETHINGELSE NUMBER
END INPUT

Aug 8, 2017 12:17 PM UTC

now that you put it on paper, seems really logical

Rename the dimension with whatever name you like and AFTER THAT, define the parameter with the same name in the "input" block!

I suppose it is not possible to have this thing for a dimension in a part mounted in an assembly, with the parameter defined in the assy:

"my_dimension" in part1 of the assy to be the same as "my_dimension" defined in the "input" block of the assy.

I will have to use the

my_dimension:1=my_dimension

in the "relation" block in the assy.

Am I correct?

Thank you again, Martin.

 

Nic.

Aug 8, 2017 12:36 PM UTC

Hi,

 

I am sorry I do not know "the best way" how to transfer values from assembly level to part level. Certainly, relation will work.