Donate Now Goal amount for this year: 2500 USD, Received: 1869 USD (75%)

Results 1 to 3 of 3

Thread: Batch deleting worksets

  1. #1
    Junior Member
    Join Date
    January 27, 2017
    Current Local Time
    08:21 AM

    Batch deleting worksets


    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. #2
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Current Local Time
    10:21 AM
    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 25th, 2017 at 01:45 PM.

  3. #3
    Junior Member PolynineStudio's Avatar
    Join Date
    April 25, 2017
    Current Local Time
    03:21 AM

Similar Threads

  1. deleting parameters...
    By sorati22 in forum Structure - General Questions
    Replies: 1
    Last Post: May 31st, 2015, 11:57 AM
  2. Revit OpEd: Deleting a Workset and Open Worksets
    By Revit OpEd in forum Blog Feeds
    Replies: 0
    Last Post: July 8th, 2014, 05:16 AM
  3. Worksets - recombining to central file and deleting local files
    By ronario81 in forum Architecture and General Revit Questions
    Replies: 4
    Last Post: October 15th, 2013, 03:04 PM
  4. deleting grids = deleting what else?
    By lost again again in forum Architecture and General Revit Questions
    Replies: 0
    Last Post: August 28th, 2013, 11:56 PM
  5. deleting import
    By imsureakoto in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: September 6th, 2012, 03:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts