Hi all,
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?
Is dataextraction
command in AutoCAD not applicable to your process?
@theshysnail Civil 3D Toolkit
Thanks.
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[0]]
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.
Hi, I want to query some properties of an object, but even the “ObjectExtensions.GetParameters” cannot obtain the information.
I’m quite confident with Dynamo but not with Python, can a code can access to theses “secret” datas ?
@BigB - this should help.
@zachri.jensen you are awesome ! Many thanks !