I am already using steam node node "Tool.ExportDWF"l to batch export my sheets in DWF from my model.
It works perfectly and make me save a lot of time
My idea : picking up sheeets in my linked files with “Get.Documents” and “Element.GetFromLinkedFile” and then Input this list result in tha Tool.ExportDWF.
Result of this operation is False.
My question is : does this node could work also with linked files ? If so, is it necessary to make some modification in the node ?
Until “Tool Export DWF”, all the nodes collect perfectly sheets in linked files and put it in a list
But then the script of the “Tool Export DWF” node seems not to understand this list of sheets.
Maybe the node isn’t able to understand this list because its content come from a linked file…
I’m just saying your preview shows null.
What version of Dynamo are you using? There’s a newer version of Tool.ExportDWF. Try installing the package update.
Only, on your screen shot you’re feeding your custom node in the wrong order (Directory path in filename input, Sheets in directory path input, Document in Views input…)
I’ve also tried your graph and it also works with multiple files as input. Important to notice that you need to lace Longest your custom node !
FIY Alban creates a package called Genius Loci dealing about batch exporting NWC,DWF, IFC, CAD and PDF without opening revit files. This package combined with @Data-Shapes package provide you a wide range of possibilities for batch exporting anything you want from your revit with a minimum of effort.
I was successful with the short version of “Export from directory” from GeniusLoci Package, but when i try the one with Export setup option node. I got an error. it only work with one link doc.
Other Question. Is there away to retrieve the exact export “Sheet/view” from link doc? Refer image. If I can retrieve the “AutoCADBase Export” “all views and sheet in the Set” as view/Sheet list
You can use “Element Types”,“All Elements of Type in Document” from Rhythm and “ViewSheetSet.Views” from Clocwork or use a python script to get your sheets from View Sheet Set.
#Copyright(c) 2015, Konrad Sobon
# @arch_laboratory, http://archi-lab.net
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = IN[0]
# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *
import System
vs = FilteredElementCollector(doc).OfClass(ViewSheetSet)
OUT = [i.Name for i in vs],[i for i in vs]
Thank you very much. Okay hopefully it is related. I keep having link models warning because it have more then 20 miles. Is there a way to unload link model in the link document file?
Much appropriated and sorry for go off subject. Now back on subject. my View.SheetSet.Views node have an error because the “Turn into list” node is saying dynamo version in compatible. Is there a new Turn into List or way to modify the “View.SheetSet.Views” node?
You can update Clockwork or you can copy the python script from the node “View.SheetSet.Views”.
The input for the python script will be a list.
Maybe you will need a “List.Create” node or a List.GetItemAtIndex node before the python script.
I were trying to export dwg from multiple revit files without opening them,i tried the similar steps given here but i couldn’t get the exact result i wanted.
When i am export dwg, the file name and other conditions are getting correct only. but the view inside the dwg file is not from the directory file, instead of that its getting from the currently opened file. The flow is given for the reference.Hope you can help me…
There are been somes changes in the Rhythm package larely. The Export DWF node expects a Revit.DB.Document and not a Dynamo Revit.Application.Document.
Use the new Rhythm Documents.DynamoDocumentToDbDocument node to perform the “conversion”.