Hello, this is my first post.
I am trying to make an automatic workflow to load and place CAD files into Revit using the pack GeniusLoci. The Revit version is 2018 and Dynamo 2.0.3.
The main idea is to take the drawing from a CAD file, using only the drawing itself and the position of the origin XY as a reference for the project base point.
To accomplish that i am using two nodes of the pack, Enumerate DWG import options for getting the necessary information to feed the options, and Import DWG for making the action.
But it seems that the function Placement of the node Import DWG does not work as it should be, placing the drawing in a strange location of the Revit project.
Using both Site, Origin or Shared gives me the same problem. Only when i use Centered, it works as the node says.
I have checked the units of the CAD and Revit (i work in meters), and also the placement options from the node itself.
The only temporary solution that i have found is drawing a circle in the CAD, with the center at origin XY, and with radium as long as the “furthest” point of the drawing, then using the Centered option of the Import DWG, forcing the imported file to the center.
But in a practical way, it makes the workflow essentially less efficient, because you need to make that circle in each drawing, and for large projects with dozens of drawings is a tedious task. So i am glad to hear what i could do.
Thanks for your time,