[Help] Can't remove units using SIUnit.Value node


#1

Hi everyone!

 

I’m trying to remove the units from a custom node that enables me to take “Type Parameters” from my Revit families.

help10


#2

Sorry for the double post, the edit button does not seem to work. The warning says “Dereferencing a non-pointer”


#3

Hello Wulfrum,

You can directly pass output of String.Remove to String.ToNumber, you don’t need SIUnit.Value.

If that doesn’t work, then please add screen shot with Preview expanded.

Thanks,

Ritesh


#4

Hi Ritesh,

I tried your suggestion but to no avail.

help11


#5

maybe you show your data and definition.

i doubt that your string is representing just digits???


#6

Hello Wulfrum,

Can you attach output of String.Remove to watch node and post scree shot. I want to see what is the output from your Custom Node (TypeParameter.FrmFamilyInstance) as well from your String.Remove Node

Thanks,

Ritesh