Selection.FromLink operation failed : Object reference not set to an instance of an object

Hello,
I’m trying to place a family in the intersection point of the selected elements (Walls & Ducts), while i was testing the script it was running well, but now when i ran it in the main model i have this error appears.

Anytime you see a “refresh” input on a node it’s actually a toggle, not a static value that sets the state to refresh automatically or not. Dynamo needs to run in order for any node outputs to update and node inputs need to change in order for nodes to reevaluate their output. The refreshSelection input in this case is just a place for you to “change” the input value on the node to force it to update.

If you change that input value to anything else it should work.

Yes i got your point and i tried to toggle it but i didn’t work although when i use another Node from another Package (DynaMEP) the script works without error. I think the node it self isn’t stable or need more development maybe.

Thankyou!

What does the error say? What package is the original selection node from? Do you have the latest version installed?