Civil3D- get object properties

In Dynamo for Civil3D, how can I get the AutoCAD properties of objects (blocks in particular)

The properties I need to get are:

  • object handle
  • x,y & z scale factors
  • layer

I guess it would be the equivalent of Element.Parameters or ParameterByName in the Revit flavour of Dynamo

thanks

Andrew

For the object handle, you’ll need to get the Civil 3D Toolkit package and use the DocumentExtensions.ObjectHandle node.

For the block scale factors, try the BlockReference.CoordinateSystem node and then the relevant CoordinateSystem.____ScaleFactor nodes.

For the layer, just use the Object.Layer node.

1 Like

great, thank you Zachri