+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Full Member Keywordkid's Avatar
    Computer Details
    Keywordkid's Computer Details
    Operating System:
    Win 7
    Discipline
    Architectural
    Keywordkid's Discipline Details
    Occupation
    CAD Manager
    Discipline
    Architectural
    Using
    AutoCAD 2012
    Join Date
    Jun 2012
    Location
    London, UK
    Posts
    72

    Default Start with a default workspace?

    Registered forum members do not see this ad.

    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:

    Code:
    /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:

    Code:
    (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?

  2. #2
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO
    Computer:
    IBM Lenovo
    Motherboard:
    ACPI x86
    CPU:
    Pentium(R) Dual-Core CPU E5500 @ 2.80GHz
    RAM:
    4 GB RAM
    Graphics:
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    650GB
    Monitor:
    ThinkVision 22"
    Discipline
    Multi-disciplinary
    SLW210's Discipline Details
    Occupation
    Design Draftsman
    Discipline
    Multi-disciplinary
    Details
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    Using
    AutoCAD 2011
    Join Date
    May 2007
    Location
    South Florida, USA
    Posts
    9,194

    Default

    Keywordkid,
    Please read the CODE POSTING GUIDELINES and edit your post.

    acad.lsp only loads once as long as you have ACADLSPASDOC = 0
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



  3. #3
    Full Member Keywordkid's Avatar
    Computer Details
    Keywordkid's Computer Details
    Operating System:
    Win 7
    Discipline
    Architectural
    Keywordkid's Discipline Details
    Occupation
    CAD Manager
    Discipline
    Architectural
    Using
    AutoCAD 2012
    Join Date
    Jun 2012
    Location
    London, UK
    Posts
    72

    Default

    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.

  4. #4
    Full Member Keywordkid's Avatar
    Computer Details
    Keywordkid's Computer Details
    Operating System:
    Win 7
    Discipline
    Architectural
    Keywordkid's Discipline Details
    Occupation
    CAD Manager
    Discipline
    Architectural
    Using
    AutoCAD 2012
    Join Date
    Jun 2012
    Location
    London, UK
    Posts
    72

    Default

    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?

  5. #5
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO
    Computer:
    IBM Lenovo
    Motherboard:
    ACPI x86
    CPU:
    Pentium(R) Dual-Core CPU E5500 @ 2.80GHz
    RAM:
    4 GB RAM
    Graphics:
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    650GB
    Monitor:
    ThinkVision 22"
    Discipline
    Multi-disciplinary
    SLW210's Discipline Details
    Occupation
    Design Draftsman
    Discipline
    Multi-disciplinary
    Details
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    Using
    AutoCAD 2011
    Join Date
    May 2007
    Location
    South Florida, USA
    Posts
    9,194

    Default

    Add your code to ACAD.lsp and (SETVAR "acadlspdoc" 0) to ACADDOC.lsp
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



  6. #6
    Full Member Keywordkid's Avatar
    Computer Details
    Keywordkid's Computer Details
    Operating System:
    Win 7
    Discipline
    Architectural
    Keywordkid's Discipline Details
    Occupation
    CAD Manager
    Discipline
    Architectural
    Using
    AutoCAD 2012
    Join Date
    Jun 2012
    Location
    London, UK
    Posts
    72

    Default

    Thanks SLW210, this works a treat!

  7. #7
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO
    Computer:
    IBM Lenovo
    Motherboard:
    ACPI x86
    CPU:
    Pentium(R) Dual-Core CPU E5500 @ 2.80GHz
    RAM:
    4 GB RAM
    Graphics:
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    650GB
    Monitor:
    ThinkVision 22"
    Discipline
    Multi-disciplinary
    SLW210's Discipline Details
    Occupation
    Design Draftsman
    Discipline
    Multi-disciplinary
    Details
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    Using
    AutoCAD 2011
    Join Date
    May 2007
    Location
    South Florida, USA
    Posts
    9,194

    Default

    You are welcome!
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



  8. #8
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    4,032

    Default

    Registered forum members do not see this ad.

    FWIW -

    Quote Originally Posted by Keywordkid View Post
    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:

    Code:
    /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:

    Code:
    (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.
    "Potential has a shelf life." - Margaret Atwood

Similar Threads

  1. Modify Default Start Up Drawing.
    By Yankeepop in forum AutoCAD Beginners' Area
    Replies: 4
    Last Post: 16th Feb 2012, 07:20 pm
  2. Workspace
    By WOJR in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 11th Aug 2011, 07:46 pm
  3. Replies: 1
    Last Post: 1st May 2011, 11:44 pm
  4. 3D workspace
    By robertorres29 in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 19th Feb 2008, 06:01 pm
  5. Workspace
    By CADgirl in forum AutoCAD Drawing Management & Output
    Replies: 10
    Last Post: 12th Nov 2007, 11:18 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts