This discussion was over at the DynamoBIM forums regarding workset creation.
https://dynamobim.com/forums/topic/creating-a-new-workset/
Andreas Dieckmann was kind enough to let us know that this has been possible since the Revit R2 release.
This prompted me to do some searching and I found this post from the building coder.
https://thebuildingcoder.typepad.com/blog/2015/02/revit-2015-r2-and-the-read-write-workset-api.html
And then I came up with this little gem. :)
It will take both a list and a single name (as a string) and create those worksets for you in a workshared model.
See the video below for it in action and get it on the package manager now. (Another note, this will only work for Revit 2015 and R2 update and beyond)
if you found this helpful and want to support this site, check out the link below