Select Objects in Civil3D

Hi @1054896935,

This is not going to be possible as you’ve described. The Object.Geometry node is doing a lot of work under the hood to make it possible to get the Dynamo geometric representation of many different types of native AutoCAD and Civil 3D objects. You can’t just pass anything into Object.Geometry and expect it to work because, at the moment, the Autodesk team has only implemented a limited set of object types for it to work with. So when you get the warning that says “Not implemented”, it means exactly that: the object type that you’re trying to use (in this case a Sample Line) has not be implemented to work in Dynamo yet. So that is a sign that you need to go a different route.

The workflow is:

  1. Select the objects, which will be the Autodesk.Civil.DynamoNodes.CivilObject class
  2. Get the native Civil 3D object (Autodesk.Civil.DatabaseServices.SampleLine) from the Civil Object
  3. Get the collection of vertices for each Sample Line
  4. Connect the vertices together to create a Dynamo curve

Like @hosneyalaa mentioned earlier, there is another post where I shared Python code to do all of this:

6 Likes