Solved! Go to solution

Open a drawing inactivated (for review)


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.
Any suggestions?
Maarten Elings | Mechanical Engineer
Accepted by topic author MaartenEl
‎08-30-2016 03:18 AM

Re: Open a drawing inactivated (for review)

[ Edited ]

Something like this, but I don't think you will be able to determine if the views are out of date in that mode.

mSolidApp.SetGlobalParameter(ApplicationGlobalConstants.seApplicationGlobalSessionDraftOpenInactive ,true)



Re: Open a drawing inactivated (for review)

Thank you! I never would have found it myself.


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.





Maarten Elings | Mechanical Engineer

Re: Open a drawing inactivated (for review)

Good one Jason!

Jason Newell
Applications Architect