Hi All. Ive got a fairly easy code but The get parameter Im still trying to wrap my head around. I need it to select only bars of shape LL. Now its not doing anything.
Hi,
I’d have a look at the output of your ‘get parameter node’…
I’m guessing the output will say “LL” but it’s worth checking.
My suspicion would be that the LL is actually a Family Type, whereas you are checking for a String with your Equality test.
There is an ‘Object Type’ node in Dynamo that lets you check what sort of data is coming out of a node… If you plug that in and it says “String” then you’ll know you can check for it, if it says “Type” then you can add a “String from Object” node to convert the data into a Type which will work with your Equality test.
Hope that helps,
Mark
Hello, put a watch at the output of your ElementgetValueByname node
Cordially
christian.stan
Once you have the Family Type, you can get it’s Name value and test that? ![]()
Put x[0]
we must know the type of parameter 59 (I would go for a number 1 2 3)
Cordially
christian.stan
I’m blocking, sorry I can’t do more
Cordially
christian.stan
Look at the parameters available after pulling the shape parameter - those Element Types will expose the LL value if you ask them for the right info.











