We have a project where the topography changes constantly through design iteration and I’m trying to find a way to streamline the topography process by directly using polylines from CAD that a consultant gives to us to generate topography instead of having to remake or edit topography points manually one by one.
However, I’ve run into an issue with some limited functionality on CAD imports into Revit. Please see a screenshot of the definition below for clarification:
So basically I’m taking a CAD import, extracting polylines, and breaking them up into points to create a topo from that. While I could make the autocad import file a 3D file (i.e. move the polylines into their desired z locations and then import into Revit), I’d rather place them into separate layers named for their height (i.e. polyline for topo height 5 is on a layer named “5”) and then call this to use as a z-coordinate as I think this would be easier to understand for future users.
For the purposes of this example, what I’ve done is instead substituted a simple translate in the z direction for the polylines to simulate the functionality I’d like to achieve.
My question is, is there any way to call identity information for CAD imports (such as layer names of objects) into a dynamo definition? Would I have to use Python for this?