OK I am trying to create worksets then place elements that are within the scopebox onto a workset. (this works fine) I have 2 different dynamo scripts and they work fine by them self but when I combine them I keep getting errors. here is the error
Thanks again in advance
Set Area7.dyn (54.0 KB)
these work fine by them selves but when trying to combine them I get the error. tried using Data shapes for it as a passthru and that was the same issue.
The Workset parameter (BuiltInParameter.ELEM_PARTITION_PARAM
) expects an integer. Archilab package has a node Workset.Id that can get that for you
that was it perfect. one question it still gets an error, but everything works just fine. can anyone tell me what is read only. I am only guessing but could it be the mullions and glass in the curtain wall.
P.S. thank you Mike!
Offhand, your list is certainly partially correct. Curtain panels, mullions, curtain grids, nested families, anything owned by someone else (though the error message may differ), and a whole bunch more. Checking if the parameter is read only and filtering can help, but I would just leverage (ok, abuse) function passing if the warning is concerning.
Remove the element input of the Element.SetParameterValueByName
node and then pass the output of the now non-working node into the function input of a Function Apply
node, and then pass the list of elements into the input of the node.
Warnings suppressed now and forever!
That sounds great until you realize that you have no insight into any issues and you have to review the results blindly. As a result you’ll want to add some reporting (number of elements changed, number of elements not changed, etc.) to give you some piece of mind.