Announcement

Collapse
No announcement yet.

Batch deleting worksets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Batch deleting worksets

    Hello,

    I am merely a beginner with Dynamo, and we are trying to automate everything related to workset creation/editing/deleting/managing them.

    So far we have scripts to create worksets from excel files, assign elements to worksets, and now what we need is a script to delete all unused worksets.

    I could not find anything online about it, and I don't really know where to start with it.

    Does anybody have a script or some idea on what would be the best way to do this?

    #2
    If you install the "ArchiLab" package, it contains Get all Worksets and Delete Element nodes.

    Edit: (Ah, I see. Just reading on the DynamoBIM forum and deleting worksets is not possible via API.... They do not behave like other elements. You can probably find a way to check which worksets are empty and rename them though, so its obvious what you need to manually delete)
    Last edited by josephpeel; July 25, 2017, 01:45 PM.
    "One must imagine Sisyphus happy." Albert Camus - "The innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may ​do well under the new." Nicolo Machiavelli -"Things that are too complex are not useful, Things that are useful are simple." Mikhail Kalashnikov

    Comment


      #3
      additional references / workarounds:
      https://forums.autodesk.com/t5/revit...t/td-p/6610832
      https://forum.dynamobim.com/t/delete-a-workset/13420/5
      www.polyninestudio.com | @Twitter |[email protected]

      FIND AND REPLACE MATERIALS FOR REVIT PLUGIN: www.polyninestudio.com/findreplacematerialsrevit.html

      Comment

      Related Topics

      Collapse

      Working...
      X