Selected element by id returns null value

I’ve used the Clockwork package node called Element.ByID. However, when I input a number with the code block it returns a null value as output. This is weird because I know the element exists inside the Revit model because it appears on a warning window. (Yes, I have an element warning and I’m trying to identify the element using Dynamo) Here are some images that explain my situation:

Are you able to select the element by Id in Revit?
Can you open up the custom node and make sure nothing is missing or erroring in there?

Hi @pmora1990

Try internal selection method.

1 Like

Hi Kulkul,

That worked, thanks! I’ve never used coding before in Dynamo. What programming language is that you’re using and where can I find more information or tutorials about how to use it on my projects?

Hi @Nick_Boyts ,

I tried using the built in funtion in Revit and it worked, however Dynam proved much faster and versatile. I suggest you check the workflow that @Kulkul proposed. THanks!

I’m using DesignScript to call revit internal selection method. You can find more about designscript here.

https://www.revitforum.org/dynamo-bim/27485-introduction-designscript.html

http://dynamoprimer.com/en/07_Code-Block/7-2_Design-Script-syntax.html

Please mark the post as solved. You’re welcome!

@pmora1990 Since you are using an older version of Clockwork, I’d be interested to see if the node works on your end once you upgrade to the current Clockwork version.