Rebar Dimension Parameters


#1

Hello!
I am having a little problem with getting rebar instance parameters. I the bottom part of the script, you will see i try you take out the dimensions of the rebar. The problem is when i get the value of the parameter out, it’s not what it should be. i want it in milimeters.

What can i do??

Thank you very much!


#2

Hi @Daniel.Gheorghe

You could just type in code block x*304.8 to get the value in mm. Cheers!


#3

Thank you for replying and for the solution, but i still want to know, why i can’t take the value in mm directly


#4

if you use getParameterByName do you get the right value?

What is the storageType for this parameter?

What are you units set to in revit, and what versions?


#5

This is fixed Here, and will be available in 1.3.3 or, if you can’t wait, in one of the daily builds.


#6

Ok. Thank you very much!