No announcement yet.

Create a selection set

  • Filter
  • Time
  • Show
Clear All
new posts

    Create a selection set


    I'm testing out some code to create a Revit Saved Selection set which I'm going to use in another routine. I'm using the Clockwork package with Dynamo.

    To test it out I simply want to create a loadable selection set (from the Manage > Select > Load button) called 'Test' which is all the doors in a project.

    But I can't seem to get it to work, no selection set is created at all.

    Am I missing something?



    It's turning out 'null' so somethings failing in the custom node, which means that it probably hasn't been updated for 0.9 yet.

    Better try contacting Andreas Dieckmann (Author of the Clockwork nodes) via twitter
    Last edited by amoursol; December 2, 2015, 02:08 PM.

    Sol Amour

    Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
    Portfolio Website @ Cargo Collective


      I'm using Dynamo 0.82 and download the 0.82 clockwork package...

      How do I know that the'null' is a clockwork error as opposed to an error in my programming?



        If you put 'watch' nodes at the end of everything, you can figure out pretty quickly where the data gets 'stuck'. In my recreation, it was the Clockwork node that wasn't working correctly.

        There is always the chance that the data you are feeding into it is incorrect as well which could also cause a null value.

        I'm not very good at Python yet to can't offer a solution unfortunately.

        Sol Amour

        Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
        Portfolio Website @ Cargo Collective


          is it working? i mean highlighting elements or creating loadable selection set.

          Last edited by Ning Zhou; June 3, 2016, 01:32 AM.


            What version of Revit are you in? Also, how many doors are there in the set? and Are any of them in model groups?

            It appears to be working for me. Dynamo 0.1.0, Revit 2016
            2016-06-03 07_03_32-Dynamo.png2016-06-03 07_04_27-Autodesk Revit 2016 - [Floor Plan_ W-FP-1 - Project1].png

            John Pierson
            Creator of Rhythm, Monocle, Bang! and Lots of Other Okay Stuff.
            Twitter - @60secondrevit | Email - [email protected] | Blog - | Work -


              it should work, i didn't use clockwork, and not good at Python yet, so i tried to use normal API via C# to create my own Dynamo node, works great, well, my very first Zero Touch stuff!
              Attached Files


              Related Topics


              • Thoughts on node/graph cleanup
                I'm working on a dynamo graph that utilizes the same dozen data points in different ways and I found myself getting annoyed with all of the wires going...
                May 25, 2017, 03:33 PM
              • Clockwork Nodes Are amamzing.....but
                all of the sudden I do not know what is going on....

                My clockwork nodes are returning NULL...

                element.location is the first...
                January 18, 2017, 05:08 AM
              • Spring Package Interference Check node does not work
                hey all ,
                the node in the spring package does not work in revit 2020

                does anyone has any idea why it is not working?
                June 13, 2019, 06:58 AM
              • Steam Nodes Issue
                Hi Everyone.

                I'm using a node from the Steam Nodes package called Schedule.GetCalculatedValues. It accepts a Schedule View and a Schedule...
                May 31, 2021, 02:35 AM
              • Equivalent node
                Hey guys,
                I am having an issue, I am following a course and it requires the Documents.Builtincategories from clockwork. I can,t find the node AT...
                October 22, 2020, 01:19 PM