Jump to content

Start with a default workspace?


Recommended Posts

Posted

Using ACAD 2012 I have an enterprize cui which contains a company workspace that I'd like all users to get as a starting point. I have tried using a switch on the shortcut to load the workspace but it refuses to open the desired wksp:

 

/w "SWD drafting"

 

I have found I can add a command in the acaddoc to achieve this but that has the problem of loading every time a drawing is opened:

 

(defun-q mystartup ()
(command "_wscurrent" "SWD Drafting")
)

Is there a way to get an initial company startup but allow users to swap to their workspaces after and remain on them when changing dwg files?

Posted

Edited post, hope I've set this out properly now?

 

Can I add ACADLSPASDOC = 0 into my acaddoc? Is this how it would be formated?

 

Still getting to grips with lisp!

 

Thanks.

Posted

My settings for ACADLSPASDOC are already set to 0 but the workspace still loads each time I change drawings even if a different wksp was preset?

Posted

Add your code to ACAD.lsp and (SETVAR "acadlspdoc" 0) to ACADDOC.lsp

Posted

Thanks SLW210, this works a treat!:D

Posted

FWIW -

 

Using ACAD 2012 I have an enterprize cui which contains a company workspace that I'd like all users to get as a starting point. I have tried using a switch on the shortcut to load the workspace but it refuses to open the desired wksp:

 

/w "SWD drafting"

I have found I can add a command in the acaddoc to achieve this but that has the problem of loading every time a drawing is opened:

 

(defun-q mystartup ()
(command "_wscurrent" "SWD Drafting")
)

Is there a way to get an initial company startup but allow users to swap to their workspaces after and remain on them when changing dwg files?

 

Just to offer another approach, we used to force-load a workspace through the application icon's /b switch, which would load a Script (SCR) that resided in the user's personal network space (which is incorporated into our SFSP).

 

** Edit - While seemingly unnecessary, as AutoCAD _should_ restore the previously active workspace at last close, this method worked quite well for us in years past.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...