Single Drawing Interface Functionality

Single Drawing Interface Functionality

Anonymous
Not applicable
454 Views
0 Replies
Message 1 of 1

Single Drawing Interface Functionality

Anonymous
Not applicable
Hi

I found out from my user today that they only operate in 'Single Drawing Mode'... as a result, my app which currently depends on it being in MDI (mainly because it only opens AutoCAD the one time) fails when operating with more than a single drawing (as it closes it when processing is complete)...

I am wondering how people would recommend addressing this... it seems that the SDI variable is due to be removed from AutoCAD in future releases?

I was thinking of determining what mode the user is configured for by

'Identify whether or not AutoCAD is configured for 'Single Drawing Interface'
AutoCADInstance_SingleDrawingInterface_Mode = AutoCAD_Instance.ActiveDocument.Application.Preferences.System.SingleDocumentMode

If this variable is true, then I'd just check if AutoCAD is open each time before i open a drawing... OR would people just recommend simply calling my AutoCAD_Instance each time...

Thoughts?

Many thanks!
0 Likes
455 Views
0 Replies
Replies (0)