Hi everyone, I’m having serious problems closing this Dynamo script. Maybe someone can point out where I’m going wrong. The idea is simple: assign a common parameter to some elements (currently only wall families, but the idea is to do this with all elements in the project) and through this parameter, associate a workset. This way, I can divide the project into worksets based on the element I need, assigning this parameter to it. Well, I can’t manage to do it."
A few general comments:
- Always include any node warning messages. Some warnings can be pretty generic but most of the time they provide enough information to target the issue.
- Always make sure your screenshots are legible. Zoom in so that all node information (particularly titles) are visible before using the Export as Image option in Dynamo. Right now we can’t tell what nodes you’re using.
Based on what I can read, it looks like you’re providing the workset value as an integer when it should be the ElementId
(Element
in Dynamo). I’m guessing the warning even says something like “unexpected argument ‘integer’, expected ‘element’.”
1 Like
If you assign worksets based on different parameter values, wouldn’t it be better to directly set the worksets?
2 Likes