Print ViewSheet vs Nested RevitLinkInstance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Community,
Here is the case. Model A.rvt and Model B.rvt are Linked to Model Main.rvt with the option as Attachment.
Model Main contains all ViewSheets from the Project. Model Main.rvt is linked to Model BatchPrint.rvt.
Model BatchPrint is used to run API command that would print content from Model Main and its nested RevitLinkInstances. Only Model BatchPrint is open.
Unfortunately only content of literally Model Main is visible in printed output(both on pdf and dwg), content of Model A and Model B is not present, as if there were unloaded, which is not the case (always loaded as Attachment).
Output should be printed from BatchPrint Model, because the method will be used by non-Revit users which should not play with Main Model....
Method used:
Document.Export(string folder, IList(ElementId) viewIds, PDFExportOptions options)
Main Model Document is used as a variable from which Export method is fired
Does anyone know how to deal with/solve this issue?
/Lukasz