Script works in Dynamo, but not Dynamo Player

Hi, I have created a script to select an element in Revit, select the child elements and combine into a list, then select them in Revit through a python script.
With Dynamo open the family and all of the nested families are selected. However, when run through Dynamo Player, only the parent family is selected.

I have tried a passthrough, waitfor code block, but with no luck.

Any suggestions greatly received.

Please provide your graph so that we can test.

I have solved my issue. Turns out it was simple human error.

It’s been a while since I’ve used Dynamo player. I was running the script in Dynamo and set to automatic. So, when I selected the element the script ran. However, I completely forgot that in Dynamo Player, once the element has been selected (the node is “is input”) you still need to press play.

1 Like

Cool! I went ahead and marked your comment as the solution.

1 Like