SetParameter.ByName Issue / List management

#1

Hi guys,

Im having some issue with the Node “SetParameter.ByName”. For sure its a problem with my list management.
Could please take a look at that? See attached Screenshot.
Im searching for the problem already for hours.
Thank you in advance!

0 Likes

#2

To start with, if you have a Revit element that needs to be set up two values in two different parameters, you’ll have this Revit element twice in the first list.

make sure that list lengths match, this includes sub-lists as you are using levels.

What I would do is split the lists in smaller chunks and make sure every small bit works as it should. Also, if you have to use several SetParameter.ByName is not a big deal, so split your initial script.

Something like this:

0 Likes