About the Authors

August 2011

Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Blog Exchange

Related Posts Plugin for WordPress, Blogger...

« | Main | FDO Labels: Multi-line »

05/05/2011

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a012877512356970c014e883edcfa970d

Listed below are links to weblogs that reference Map 2012: Default Workspaces:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

olivier

Hello,
the current workspace is saved in registry when you quit AutoCAD MAP, so you can read this information to reload the last workspace when map is launched.
I know it's not the good place, but i have add these lines to acad2012.LSP and they restore the last used workspace

(vl-load-com)
(setvar "WSCURRENT"
(vl-registry-read
(strcat "HKEY_CURRENT_USER\\"
(vlax-product-key)
"\\Profiles\\"
(vla-get-ActiveProfile
(vla-get-profiles
(vla-get-preferences
(vlax-get-Acad-Object)
)
)
)
)
"WorkspaceNameAtProfileSave"
)
)

Dan

Why not put it in a new file called ACAD.lsp in any support path since you are right that acad2010.lsp should not be modified? Should behave the same as in acad2012.lsp

The comments to this entry are closed.

RSS Feed

  • Subscribe