Rhino Inside Revit - Define Workset

How do you define the workset for a created element?

I have used the Element.Decompose and Element.ParameterSet components but the value input requires a integer rather than a string.

Thanks in advance.

Hey @edmistondaniel
Welcome to the community :slight_smile:

Made a couple of Python nodes to work with worksets.

Open the definition below and grab what you need

worksets.gh (11.5 KB)

1 Like


1 Like

Hi Ehsan,
Is it possible to create a new workset with a python component included in this example? I’m trying to create a new workset and then make elements in that newly made workset. I can’t seem to make it work.
Thank you!

The guide is updated often…


1 Like

Awesome! Thank you.

1 Like