Skip to main content
1-Visitor
August 7, 2017
Solved

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

  • August 7, 2017
  • 5 replies
  • 7664 views

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.

Best answer by MartinHanak

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

5 replies

17-Peridot
August 7, 2017

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

However, you can rename the symbol to something else.

KenFarley
21-Topaz II
August 7, 2017

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.

1-Visitor
August 7, 2017

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

23-Emerald III
August 7, 2017

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

 

24-Ruby III
August 8, 2017

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

1-Visitor
August 8, 2017

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.

24-Ruby III
August 8, 2017

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.