Does anybody know if there’s a way to create a point in Dynamo by selecting a location in model space in Civil 3D and gathering the x,y,z coordinates from the cursor click? I know that you can select an existing point in Civil 3D and get that info into Dynamo, but I’m trying to find a way to create a prompt in Dynamo Player that will allow the user to select a point on either side of a line to place blocks and orient them accordingly. As of now, I have a boolean input for the user to choose if the blocks should be oriented to the left or right of the line, but I would prefer to have the user click a point and for that information to be read to Dynamo as an x,y,z point instead.
Not what you are asking for but a workaround encase this is not possible (your question is beyond me). You could have them select an object on one side of the line. Then get its center and have dynamo calculate the closest point. Food for thought.
Hi. Is there a way to use the point from that Python script as an input? I don’t know if I’m explaining myself well.
I’m trying to put the sum of lengths of polylines with a given property as a text in a point picked by tht user. I made some progress but I don’t know how to make that point an input. I’m attaching my dyn to make my point. Thanks in advance. longitudesPS.dyn (37.0 KB)
hi, i’m not a programmer so - i converted the script to python3 with the help of gpt and set the node as an output, it gets the job done (thank you @Paolo_Emilio_Serra1 for the script)