Results 1 to 7 of 7

Thread: Change AutoCAD profiles with a toolbar button

  1. #1
    Member
    Join Date
    2003-07
    Location
    Denver, CO
    Posts
    2
    Login to Give a bone
    0

    Cool Change AutoCAD profiles with a toolbar button

    I am looking to swithch profiles with a toolbar button. I had built this 1x before but can't find it and before tackling it again, I was hoping somebody has the code.

    I had two buttons on this toolbar and I could switch profiles. I had the toolbar loaded in each profile. This way I could switch background colors, toolbar layouts, etc...

    I belive the button referenced a macro or VBA script. Anybody have an idea?

    Thanks,
    Doug

  2. #2
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095
    Login to Give a bone
    0

    Default Re: Change AutoCAD profiles with a toolbar button

    In my experience, switching profiles inside AutoCAD isn't worth it anymore. From the sounds of things, you should look into workspaces first.

  3. #3
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,420
    Login to Give a bone
    0

    Default Re: Change AutoCAD profiles with a toolbar button

    And there's already a toolbar for that.
    C:> ED WORKING....


    LinkedIn

  4. #4
    All AUGI, all the time Liamnacuac's Avatar
    Join Date
    2016-01
    Location
    Earth
    Posts
    508
    Login to Give a bone
    0

    Default Re: Change AutoCAD profiles with a toolbar button

    Unfortunately, some of us out here have budget constraints to deal with, and thus run older software. For instance, I still have 9 seats of AutoCAD 2006, 3 seats of ADT '06, and 6 seats or '06LT. I will
    get some more subscriptions this year, but not all of these '06 will go away, I'm afraid.
    I also have a couple of users who mess up their profiles on occasion. I was having them save their profile to a public drive, but I've been requested to use personal network drives, and I thought there is probably a routine for exporting a profile to a network drive already?
    Does anyone have a .lsp that exports profiles?
    Can I create this with 2009 's recorder and still use it in 2006 (if there aren't any modern commands in the routine)?

  5. #5
    All AUGI, all the time Liamnacuac's Avatar
    Join Date
    2016-01
    Location
    Earth
    Posts
    508
    Login to Give a bone
    0

    Default Re: Change AutoCAD profiles with a toolbar button

    Quote Originally Posted by Liamnacuac View Post
    Unfortunately, some of us out here have budget constraints to deal with, and thus run older software. For instance, I still have 9 seats of AutoCAD 2006, 3 seats of ADT '06, and 6 seats or '06LT. I will
    get some more subscriptions this year, but not all of these '06 will go away, I'm afraid.
    I also have a couple of users who mess up their profiles on occasion. I was having them save their profile to a public drive, but I've been requested to use personal network drives, and I thought there is probably a routine for exporting a profile to a network drive already?
    Does anyone have a .lsp that exports profiles?
    Can I create this with 2009 's recorder and still use it in 2006 (if there aren't any modern commands in the routine)?

    OK, I can answer at part of my own question; "Action Recorder??!! Are you serious??!! HA HA HA HA HA HA....."

  6. #6
    Member
    Join Date
    2006-02
    Posts
    7
    Login to Give a bone
    0

    Default Re: Change AutoCAD profiles with a toolbar button

    I'm trying to export profiles to our server via lisp as well. No luck so far, but, if I get it figured out I'll pass along the answers.

    Also trying to set paths (normally accesed/set via files tab in options dialogue) via lisp in order to reduce the time spent fixing all the 'not so stable' settings that seem to be a permanent part of AutoCAD. Does anyone know how?

    Also, does anyone else find it easier/quicker to edit profiles from a simple text editor? And in the process see all the stuff you can't edit from the GUI, like default paths for IMPORT or EXPORT of profiles etc.

  7. #7
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: Change AutoCAD profiles with a toolbar button

    Quote Originally Posted by lessZmore View Post
    Also trying to set paths (normally accesed/set via files tab in options dialogue) via lisp in order to reduce the time spent fixing all the 'not so stable' settings that seem to be a permanent part of AutoCAD. Does anyone know how?
    It is simple using the ActiveX interface.
    Code:
    (vla-Put-SupportPath (vla-Get-Files (vla-Get-Preferences (vlax-Get-Acad-Object))) "path1;path2;path3")
    R. Robert Bell
    Design Technology Manager
    Stantec
    Opinions expressed are mine alone and do not reflect the views of Stantec.

Similar Threads

  1. Create/change a Toolbar button Via Lisp
    By ccowgill in forum AutoLISP
    Replies: 2
    Last Post: 2009-04-07, 01:44 PM
  2. Would like Toolbar description to appear under toolbar button
    By danny.139703 in forum AutoCAD General
    Replies: 1
    Last Post: 2007-05-21, 05:47 PM
  3. Is there an easy way to have a Toolbar button call up another Toolbar?
    By jonathanschade in forum AutoCAD CUI Menus
    Replies: 5
    Last Post: 2007-04-12, 04:40 PM
  4. Setting a registry key in AutoCAD LT via a toolbar button
    By johan d in forum AutoCAD LT - General
    Replies: 1
    Last Post: 2006-05-24, 02:05 PM
  5. Replies: 7
    Last Post: 2006-05-05, 01:41 AM

Posting Permissions

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