If no value then no detail item

Hello,

I am trying to place detail items on a level with (FamilyInstance.ByPointAndLevel) it works partly.
Probleem: when the “Point” from (FamilyInstance.ByPointAndLevel) =Null an error appears.
If the list starts with Null then is also the parameter not set

This is the result

You can see that 3 square is the wrong size (by the way they are all wrong in size)…

How can i resolve this.

Thanks,

Edwin

The warning disappeared after i restarted revit and Dynamo but still the parameter “breedte” value is not set.


Thanks,

Edwin

@EzDoesIt Seems like you need to apply the bool mask and filter out the empty strings from the “breedte” list. The same filter that you’ve applied to the list of points.
You might also need to change the lacing on SetParameterByName

Thanks Vikram_Subbaiah,

It’s solved now.

Edwin