See the top rated post in this thread. Click here

Results 1 to 10 of 10

Thread: Run LISP routine on AutoCAD 2006 Tool Palettes

  1. #1
    Active Member
    Join Date
    2000-12
    Posts
    56
    Login to Give a bone
    0

    Question Run LISP routine on AutoCAD 2006 Tool Palettes

    IS THERE A WAY TO USE A LISP ROUTINE
    IN THE 2006 TOOL PALETTES, IF SO COULD
    SOMEONE PLEASE HELP ME.

  2. #2
    100 Club charlie.bauer341340's Avatar
    Join Date
    2002-05
    Location
    Here, because I'm not all there
    Posts
    141
    Login to Give a bone
    0

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    To create a button on the palette. Drag an object from a drawing onto the palette, it will automatically create a button for that command. Right click on the new button and in the command string line write a macro to load and launch you lisp routine, (load "xyz") xyz this will load your routine and launch it. At this point you can set other variables and assign picture to your button.

    Good programing

  3. #3
    Active Member
    Join Date
    2000-12
    Posts
    56
    Login to Give a bone
    0

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    WHEN I RIGHT ON THE ICON IN THE TOOL PALETTE
    IT OPENS THE TOOL PROPERTIES DIALOGUE BOX,
    BUT I DO NOT SEE A COMMAND STRING LINE.

    I AM RUNNING VANILLA 2006

    ANY IDEAS ON THIS

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,103
    Login to Give a bone
    0

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    For future reference, it's best not to post a message using all Caps Lock ie. UPPERCASE as it makes it look like you are shouting.

    Thanks for your understanding.

    Richard
    Forum Moderator
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  5. #5
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,103
    Login to Give a bone
    0

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    Quote Originally Posted by mwilson
    WHEN I RIGHT ON THE ICON IN THE TOOL PALETTE
    IT OPENS THE TOOL PROPERTIES DIALOGUE BOX,
    BUT I DO NOT SEE A COMMAND STRING LINE.

    I AM RUNNING VANILLA 2006

    ANY IDEAS ON THIS
    Have you tried the Similar Threads near the bottom of this page? This thread (Convert toolbars to tool palettes) provides information on some aspects of this. You may also have a look at this thread (Using LISP routines in 2005 Palettes).

    HTH
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  6. #6
    100 Club charlie.bauer341340's Avatar
    Join Date
    2002-05
    Location
    Here, because I'm not all there
    Posts
    141
    Login to Give a bone
    0

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    Are you clicking on a command tool or a block insert tool?

  7. #7
    Active Member
    Join Date
    2000-12
    Posts
    56
    Login to Give a bone
    0

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    I am trying to insert a block fom a tool palette,
    and run a lisp routine, when i drag a block to the
    palette and right click i do not see the option to
    run the lisp routine.

  8. #8
    100 Club charlie.bauer341340's Avatar
    Join Date
    2002-05
    Location
    Here, because I'm not all there
    Posts
    141
    Login to Give a bone
    1

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    draw a line in your drawing and drag it to the tool palette. This will create a command tool. Right click on the new tool, go to properties and you will find the command string line

  9. #9
    Active Member
    Join Date
    2000-12
    Posts
    56
    Login to Give a bone
    0

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    Thanks I think I got it, the only problem is
    getting a symbol or icon on the palette.

  10. #10
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,103
    Login to Give a bone
    1

    Default Re: Run LISP routine on AutoCAD 2006 Tool Palettes

    Quote Originally Posted by mwilson
    Thanks I think I got it, the only problem is
    getting a symbol or icon on the palette.
    When you are in the properties dialog box for the chosen tool, right-click on the image to specify a different image.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. tool palettes and lisp routine
    By Matt Mercer in forum AutoLISP
    Replies: 15
    Last Post: 2018-04-03, 03:27 PM
  2. Sharing Tool Palettes with other users in AutoCAD 2006
    By JDRBWA in forum AutoCAD Customization
    Replies: 1
    Last Post: 2007-02-14, 06:40 PM
  3. Replies: 1
    Last Post: 2006-05-14, 06:00 PM
  4. Replies: 2
    Last Post: 2006-05-12, 01:40 PM
  5. Transfer tool palettes from AutoCAD 2004 to 2006
    By tomcarver in forum AutoCAD General
    Replies: 2
    Last Post: 2005-10-20, 05:42 PM

Posting Permissions

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