I’m very interested in knowing if it is possible in Dynamo to: 1. select a surface, 2. enter a real number (an elevation that must be between min and max elevations). 3. create a civil 3d surface style with that elevation in the name. 4. modify that style to show only user contours ‘with only the above elevation’ specified. 5. extract that user contour as a polyline.
Doing this manually is very easy, but can become tedious if you do this a lot.
I think some functions have been added to Core Dymamo. I think this can now be done with two nodes. 1. Select objects and 2. extract the user contour but I can’t find that 2nd node. Is that correct. Currently I need to downgrade my civil 3d toolkit in order to get this to run.
Basically, I’m looking ot select a surface and then extract a user contour elevation.
I believe you showed a node a few days ago that was able to acquire a user contour. It went by so fast that I did not have a chance to get a screen shot.
Then to draw the polylines in Civil 3d is there another node? or does that node create the polylines? Does the Curve output create the polylines or do you need something else?
Can I reverse the inputs? - See screen shot. Let’s say I want the selection to be the first input.
Also, if I run this multiple times it erases the previous polyline. What do I need to do to prevent the program from deleting the previous polyline created on subsequent runs.
Just a minor clarification…what you’re seeing is that the original polyline is getting updated or “moved” each time you change the elevation. This is the default behavior as it is very useful for the majority of cases. You are interested in the second use case, which is where Dynamo functions more like a LISP routine that just “runs and forgets”. We are working on making this a little easier to achieve, but what you have to do right now is turn off object binding.