We can't import a DWG file in to Revit 2023 dynamo, we have tried bimorhnodes,geniusLoci,LinkDWG

We are stuck trying to import a DWG to Revit 2023 dynamo, we want to do it directly in to Dynamo run in a family. To open the family we use a document.background open → family.load.

We have then tried to load a DWG with import DWG from GeniusLoci but we don’t know what argument/data the input slot needs. We have a filepath connected to our filepath.

Any help is much apricated!

Hi @brian.lundgren,

Use the Enumerate Import DWG options node.
See this post :

3 Likes

Thank you, our node doesn’t have an “unit” slot and it has a red input slot, where should we plug the dwg unit in to?

Good catch !
Unit is now a reserved keyword in Dynamo 2.13.
I corrected the cutom node on Github.
(Right click and Save As on the Raw button.)
Replace the old node in C:\Users\%USERNAME%\AppData\Roaming\Dynamo\Dynamo Revit\2.13\packages\Genius Loci\dyf

1 Like

Would you share your script? I’m trying to rebuild this script and am getting very frustrated.