I need to extract the properties (x, y, and z positions) of some blocks from a dwg file.
How can I do this from Dynamo for Revit or Dynamo for Civil 3D?
dataextraction command in AutoCAD not applicable to your process?
@theshysnail Civil 3D Toolkit
Don’t know why “Position X” as a parameter name is not working. Where could I find some related resources/documentation?
Because it is not a parameter on the object, use the GetParameters node to know what you can use
Hi @Paolo_Emilio_Serra1, could you attach that script? Or am I allowed to write it myself?
@Stoniukas I made it look more complicated than it is…
import clr clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import Point OUT = [Point.ByCoordinates(p.X, p.Y, p.Z) for p in IN]
Thanks @Paolo_Emilio_Serra1 !!
Hi Paolo, is it possible to access extrusion data of the objects? i was able to extract some parameters but not those ones, i got a feeling it has to do somethign with the Geometry extents
@sweapon that would be another topic of the day. This thread has a solution already.