We have a company wide DWG export setting for when we export sheets as DWG, which i now want to use in a batch plot pdf+dwg script.
The problem is, i am not sure if every project has this export setting saved inside revit.
Is it possible to recreate or save a specific export setting inside a dyn file?
Seems like there are way too much variables to create an export setup with the genius loci node?
The exportsettings you see in the “all elements of type” is the one i need, but i want to recreate it without using that node.
This way i am sure that the export will be done correctly, even when the revit file does not have this export setting saved.
If you were to check if the export setting were in the project first you would then only need to load them on the first go. The rest of the time it would see the setting and skip this step.
I would also recommend Storing the settings in a striped out file. Delete all views purge multiple times (make sure to not purge the export setting). The file should be 1-2 mb at this point. If your servers are slow to open the project you could copy the file to the local computer prior to importing and then delete it after.
I am not sure off the top of my head but I think it does yet. It should open it in the background though and close it when done. This is much faster as it does not need to load it into the UI.
This script is used in revit 2018 and 2019, but I think dynamo needs to check what Revit version the active document is, and then open either the 2018 template file or the 2019 template file.
Or can I just use a 2018 template file, and dynamo will upgrade it to 2019 when it is opened in 2019?
The Rhythm node OpenDocument is similar to the Revit OOTB function. It temporarily upgrades the Revit files to the current version. So no need to worry about the version of Revit.
I recreated your example, it works but for some reason it doesnt show the project in Revit.
I can see the model being upgraded but i cant close it anywhere, does the node close the project after extracting information?
It does create the desired DWG export setting:)
Is it possible to enter the element type as string? I dont want to use drop down nodes…
How do i share dwg export settings from current document to multiple other documents without opening them(or in the directory).is there any nodes are available for that.
As written above, it is more convenient to create a DWG export settings in your current document with the Create DWG Export Setup node from the Genius Loci package.
I created the export settings in the current document but i need to share the same export settings to multiple other documents.is that possible with dynamo??