A custom node is now available: “CAD Block”.
It is now easier to batch place familyInstances at each block insertion point from a linked DWG.
(without exploding the DWG or _DATAEXTRACTION from Autocad or reading AutoCAD file with ActiveX)
Hi @Alban_de_Chasteigner ,thanks for your answer, I would like to get the Geometry from the link or imported DWG (into project or family environment) like the output of “Element.Geometry”, “Element.Solids” or “ImportGeometriesByCOM” (“Mesh” for example)
Hi @Alban_de_Chasteigner , thanks for your answer, yes of course but for more complex geometry (3D DWG exported from others mechanicals programs like SolidWorks, Solid Edge, Catia, Inventor) it fails or dynamo crash, for this I’m looking for another method to get the external geometry surface into RFA or RVT (python or maybe with Grasshopper for Revit) and work in background, there are some workaround and plug-ins (for example the method “shrinkwrap”) but it’s more time consuming for thousant families.
Thanks for your efforts
Hi @Alban_de_Chasteigner -
The Origin Point output of your CAD Block node is not reading the block insertion point in my case, but instead is reading an origin point in the CAD file that is the same for each block instance. So, if I were to run the script to place family instances for each block, then they would layer multiple instances onto the same origin. I have tried using the LinkDWG2 nodes for BlockProperty to acquire the insertion point, but cannot seem to figure out why I am getting “null” values for these nodes. Any advice or help that you can share would be greatly appreciated.
Welcome to the Dynamo forum.
It is not possible to help you without viewing the warning messages and previews under the nodes. Apparently, your families are not named exactly like Autocad blocks since they are not found by the Family.ByName node.
You can export those type of files as SAT files, which are made of solids and or surfaces that can be read by basic nodes of Dynamo. I did in some occasions with STL, OBJ file format, like a mesh file to open in Dynamo.