I am trying to get rid off null results. I tried adding an if node but didnt work. Is there a node that can get rid of null results?
Thank you,
Jorge
I am trying to get rid off null results. I tried adding an if node but didnt work. Is there a node that can get rid of null results?
Thank you,
Jorge
Use the flatten node
What is the error youâre getting?
Its not really an error. My graphic works, I just want to filter out the null results so that I dont get any warnings. It basically searches for all generic annotation families and looks for parameter Sheet Name. If parameter does not exist in family it shows null.
You are not flatten any nulls because they are not null. They have a value
What if you create a filter that removed your â- - -â values?
yes! that would probably work. Would you please help me??
Yes of course.
Use a equal node, like â==â. Pass a string value with â- - -â in it. Youâll recieve false and true. Use a FilterByBoolMask node to get the false :-).
You need to pass the Element.GetParameterValue to list in FilterByBoolMask and the == to Mask in the FilterByBoolMask
What is the yellow error message?
it says operation failed and no parameter found by that name
I tried Dictionary.GetValues but doesnt do it
Simply error that says: your generic annotation donât have a parameter assigned called sheet name
but those are the only ones that do have the parameter. the ones we filtered out are the ones that did not contain that parameter.
Try Manage.RemoveNulls from Lunchbox
I am using Dynamo 2.0 I think it doesnt work for my version
You also need to filter out the elements that donât have a value. Right now youâre filtering out the values only and then trying to apply those values to the elements that donât have the parameter. Use the same mask on the list of elements before assigning the values.