From Lenght object to Integer

 

Hello,

I would like to multiply the material width values but I can’t convert them into integers, nor have I found any answer on this forum yet.

Someone could give me a clue?

 

dyn width

Hi Vikram,

Thanks for your help, but the problem remains. I don’t have strings but the Revit type “Length” (number with units).

Consequently, the nodes applying to ‘str’ don’t work here.

Hi

Use the node “string from object” to convert your lengths to a list of strings, then Vikram’s solution will work perfectly.

It looks like you’re using an outdated version of Clockwork.( pre 0.80). Try updating to the latest version and you won’t have to bother with any of this.

Indeed, the units don’t appear anymore with the latest version. Thanks !