Civil3D - Prompt User To Select Objects

I don’t think this is going to be possible given the way those UI selection nodes work. You’ll notice that they don’t actually require the graph to be run in order to return an output (i.e. it still works when the graph is set to Manual instead of Automatic). There might be some way to capture an event that fires when a run is complete and then reset the node upon hearing that event, but now we’re talking about a change in the fundamental way that the node is designed and how the results are cached.

You could abandon this node and try a Python approach, but you’d need to make sure that you convert the native AutoCAD/Civil 3D object types into their corresponding Dynamo types. It would also probably require some type of toggle that would have to be changed by the user in order to run the selection again, which doesn’t seem any simpler than just clicking “Change” on the Select Objects node.

Like Jacob said, you might try another package or go with Dynamo Player. But even with a Dynamo Player approach the user would still have to click the reset button to clear the selection. The downside is that if the graph has other user inputs, those would be reset as well.

DynamoPlayer

So after all that…I think it might be easiest to click ‘Change’.

2 Likes