To decrease batchplotting times I would like to open drafts with "inactivate drawing view for review".
At the moment I know how to open a drawing and set it to inactive but this, obviously, increases opening times instead:
Dim documents As SolidEdgeFramework.Documents = application.Documents
Dim document As SolidEdgeDraft.DraftDocument = Nothing
'close any open documents
document = documents.Open(filePath) 'opens the document
document.InactiveDrawingViewMode = True 'sets the document to inactive
switching places of the ".inactivedrawingviewmode" command doesn't work as it requires an active reference.
I can't find another method in the sdk nor on this forum.
I'm well aware of that I wouldn't be able to update or determine if views are out of date.
However, when we batch export to pdf/dwg or batch plot all of our drawings have been double checked to make sure they are all up-to-date. Hence opening the drafts as inactive prior to plotting saves quite some time.