Planting Height Value


#1

When i try to push a value to the height value of a planting category im under the impression that it multiplies the values instead of just replacing.

 

Planting Heigh Value

 


#2

It would be really helpful if we could see the definition?


#3

 

 

Sorry i thought i added it to the previous post :slight_smile:Dynamo Definition


#4

that s most probably a conversion issue inches / meters. convert the double to si units cause height is a length parameter.


#5

I would just add a codeblock like beneath between the Math.Round and the SetParameter node

conversion from mm to feet. (Which is the native Rative format… Many threads have been spent on this! :))

slett meg1234

 


#6

God im dumb as a brick :frowning: can’t believe i forgot about that… so stupid.

Sorry to waste everyones time but thanks a lot

 

 


#7

You dumb as a brick? I wrote “native Rative”. Now that’s brick worthy… No time wasted on my part, glad to help!


#8

Ok, i added the Feet to Meters conversion node assuming that the value coming out of my Math.Round was in feet.

Not much better result, my trees are now… 1m tall lol

 

I included the definition ad the rvt file if someone have time to have a look. Thanks a lot for your help :slight_smile:

 


#9

metric-conversion


#10

Interesting that the node doesn’t work but the math calc does. But thanks a million for your help everyone :slight_smile:

 

 


#11

@Daniel for me it’s always trail and error too.

I check the result after calculation and then compare it with the revit parameters. if the result is wrong i adjust manually with one of my favorite code blocks :wink: