Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: autolisp

  1. #1
    Paul Caruthers Guest

    autolisp

    I must admit, I've never had to deal with this before....

    i would like to set up a toolbar button that will turn off a predefined set
    of layers. We don't give our sales office fully dimensioned drawings, we
    turn off all the dims, notes, atb, .....so all the end up with is walls,
    windows & doors, and room names.... any help would be appreciated.

    I've considered just make up some new tabs and turning of these layers in
    the viewports, but that would involve alot of work....a button would be
    soooo much easier.

    Paul caruthers

  2. #2
    Matt Guest
    Depending on your layering system you could turn off layers with wildcards
    or by naming specific layer names. ie - C^C^_-la;f;*dim;*notes;*whatever;;
    or C^C^_-la;f;dim*;notes*;;

    My last 2 cents in the pot

    Matt


    "Paul Caruthers" <pcaruthers@lamontagnebuilders.com> wrote in message
    news:41eeaa84_1@newsprd01...
    I must admit, I've never had to deal with this before....

    i would like to set up a toolbar button that will turn off a predefined
    set
    of layers. We don't give our sales office fully dimensioned drawings, we
    turn off all the dims, notes, atb, .....so all the end up with is walls,
    windows & doors, and room names.... any help would be appreciated.

    I've considered just make up some new tabs and turning of these layers in
    the viewports, but that would involve alot of work....a button would be
    soooo much easier.

    Paul caruthers

  3. #3
    Daniel J. Altamura, R.A. Guest
    Explore Layer States in help.

    --
    Daniel J. Altamura, R.A.
    Altamura Architectural Consulting
    and SoftWorx, Autodesk Authorized Developer
    --------------------------------------------------------------------


    "Paul Caruthers" <pcaruthers@lamontagnebuilders.com> wrote in message
    news:41eeaa84_1@newsprd01...
    I must admit, I've never had to deal with this before....

    i would like to set up a toolbar button that will turn off a predefined
    set of layers. We don't give our sales office fully dimensioned drawings,
    we turn off all the dims, notes, atb, .....so all the end up with is
    walls, windows & doors, and room names.... any help would be appreciated.

    I've considered just make up some new tabs and turning of these layers in
    the viewports, but that would involve alot of work....a button would be
    soooo much easier.

    Paul caruthers

  4. #4
    LARRY Guest
    HOW ABOUT MAKING A BUTTON WITH THE MACRO

    ^C^C-LAYER OFF "LAYER NAME,LAYER NAME, ECT" ;

  5. #5
    Anne Brown Guest
    Paul -

    In addition to any replies you might receive or have already
    received, you may find more information or responses by posting
    future lisp/customization related questions in the following
    discussion group:

    Web browser:
    http://discussion.autodesk.com/forum.jspa?forumID=130
    Newsreader:
    news://discussion.autodesk.com/autod....customization
    ---
    Anne Brown
    Discussion Groups Administrator
    Autodesk, Inc.

    Paul Caruthers wrote:
    I must admit, I've never had to deal with this before.... (snip)

  6. #6
    Paul Caruthers Guest
    Thanks Matt, that's almost got it. I've got to hit the button twice, for
    some reason, but it's a starting point.
    this is what i've got working C^C^_-la;of;dim,not,beam,girder,cen,atb,hat

    time for a little home work tonight.

    Paul Caruthers

    "Matt" <jeg2dsign@(removethis)earthlink.net> wrote in message
    news:41eeac58$1_3@newsprd01...
    Depending on your layering system you could turn off layers with wildcards
    or by naming specific layer names. ie -
    C^C^_-la;f;*dim;*notes;*whatever;;
    or C^C^_-la;f;dim*;notes*;;

    My last 2 cents in the pot

    Matt


    "Paul Caruthers" <pcaruthers@lamontagnebuilders.com> wrote in message
    news:41eeaa84_1@newsprd01...
    I must admit, I've never had to deal with this before....

    i would like to set up a toolbar button that will turn off a predefined
    set
    of layers. We don't give our sales office fully dimensioned drawings, we
    turn off all the dims, notes, atb, .....so all the end up with is walls,
    windows & doors, and room names.... any help would be appreciated.

    I've considered just make up some new tabs and turning of these layers in
    the viewports, but that would involve alot of work....a button would be
    soooo much easier.

    Paul caruthers



  7. #7
    Matt Guest
    You should be close. Try to use 2 semicolons at the end to close the
    command. BTW - simple layer/command macros can be pretty handy once you get
    the hang of them, even if you are on full cad (I unfortunately use LT). I
    have macros to turn groups of layers on/off , lock viewports, reload xrefs
    plus all the handy ones that Chip Harper supplied on his site. Good luck.

    Matt




    "Paul Caruthers" <pcaruthers@lamontagnebuilders.com> wrote in message
    news:41eeb251$1_2@newsprd01...
    Thanks Matt, that's almost got it. I've got to hit the button twice, for
    some reason, but it's a starting point.
    this is what i've got working
    C^C^_-la;of;dim,not,beam,girder,cen,atb,hat

    time for a little home work tonight.

    Paul Caruthers

  8. #8
    Paul Caruthers Guest
    ahhh, that's it! awesome, I've used these before in a larger office, and
    it great.
    Thanks for your help. This is the finish product.
    C^C-la;of;dim,not,beam,girder,cen,atb,hat,ctr,frame_no tes;;
    it works great!

    Paul Caruthers

    "Matt" <jeg2dsign@(removethis)earthlink.net> wrote in message
    news:41eebd75_3@newsprd01...
    You should be close. Try to use 2 semicolons at the end to close the
    command. BTW - simple layer/command macros can be pretty handy once you
    get
    the hang of them, even if you are on full cad (I unfortunately use LT).
    I
    have macros to turn groups of layers on/off , lock viewports, reload xrefs
    plus all the handy ones that Chip Harper supplied on his site. Good luck.

    Matt




    "Paul Caruthers" <pcaruthers@lamontagnebuilders.com> wrote in message
    news:41eeb251$1_2@newsprd01...
    Thanks Matt, that's almost got it. I've got to hit the button twice, for
    some reason, but it's a starting point.
    this is what i've got working
    C^C^_-la;of;dim,not,beam,girder,cen,atb,hat

    time for a little home work tonight.

    Paul Caruthers


  9. #9
    Matt Guest
    Glad to help.

    Matt

  10. #10
    Cad Dept Guest
    Use Layer Manager, lman at the command, its under the Express pull down,
    layers

    Paul Caruthers wrote:
    I must admit, I've never had to deal with this before....

    i would like to set up a toolbar button that will turn off a predefined set
    of layers. We don't give our sales office fully dimensioned drawings, we
    turn off all the dims, notes, atb, .....so all the end up with is walls,
    windows & doors, and room names.... any help would be appreciated.

    I've considered just make up some new tabs and turning of these layers in
    the viewports, but that would involve alot of work....a button would be
    soooo much easier.

    Paul caruthers

  11. #11
    Tom Smith Guest
    under the Express pull down
    Per previous discussions, LMAN has been obviated by the layer state
    functionality added to the basic layer manager. It's always preferable to
    use a "core" functionality if it's available, rather than an add-on.

    In any case, the OP has already got an answer he seems happy with. I also
    think that using layer states would have been a good solution, but he seemed
    to want a "button" to do the work.

  12. #12
    Dean Saadallah Guest
    Maybe the OP's needs are static and not flexible to warrant learning about
    Layer States.

    --
    Dean Saadallah
    Add-on products for LT
    http://www.pendean.com/lt
    --

  13. #13
    Paul Caruthers Guest
    Thanks for suggestions. I have explored and played with the "layer states"
    process. If I'm doing it correctly ( I have saved the 2 states that I would
    like) it is a several stroke process to flip between an "all layers on mode"
    to "what I want". The tool bar button/macro is faster. and far easier to
    explain to the other user in the office that is...barely cad literate....but
    a good guy anyway.

    Paul

    "Dean Saadallah" <info from pendean> wrote in message
    news:41f137ce_3@newsprd01...
    Maybe the OP's needs are static and not flexible to warrant learning about
    Layer States.

    --
    Dean Saadallah
    Add-on products for LT
    http://www.pendean.com/lt
    --

  14. #14
    Daniel J. Altamura, R.A. Guest
    You can restore layer states from a macro as well. Use -LAYER as follows:
    ^c^c_-layer;a;r;layerstatename;;;

    --
    Daniel J. Altamura, R.A.
    Altamura Architectural Consulting
    and SoftWorx, Autodesk Authorized Developer
    --------------------------------------------------------------------


    "Paul Caruthers" <pcaruthers@lamontagnebuilders.com> wrote in message
    news:41f1486d$1_1@newsprd01...
    Thanks for suggestions. I have explored and played with the "layer
    states" process. If I'm doing it correctly ( I have saved the 2 states
    that I would like) it is a several stroke process to flip between an "all
    layers on mode" to "what I want". The tool bar button/macro is faster.
    and far easier to explain to the other user in the office that is...barely
    cad literate....but a good guy anyway.

    Paul

  15. #15
    Paul Caruthers Guest
    Duh, yeah I suppose you could....if I had thought of that...

    Now, what would be the advantage to that. The end result is the same (at
    least for this specific case), the unwanted layers are turned off. With the
    toolbar it becomes a universal tool in any drawing. Doesn't the layer state
    have to be imported to each drawing that it would be used? I have a library
    of about 30 standard house plans (templates)and a half dozen condos, and
    from these I produce about 120-150 set of plans in a given year. in
    addition to the 4-5 new designs we create to introduce the next year. This
    whole thing came about because, we supply the sales office with stripped
    drawings of the standard plans (no notes, dims, any real info), and our
    design center gets striped drawings for those houses that we actually
    sell/build and are used to make notes on when the buyers come in to make
    there interior selections....anyway, it was always a Pain in the Butt to go
    in and turn off all those layers one at a time.

    Paul Caruthers

    "Daniel J. Altamura, R.A." <Altamura@frontiernet.net> wrote in message
    news:41f16804$1_2@newsprd01...
    You can restore layer states from a macro as well. Use -LAYER as follows:
    ^c^c_-layer;a;r;layerstatename;;;

    --
    Daniel J. Altamura, R.A.
    Altamura Architectural Consulting
    and SoftWorx, Autodesk Authorized Developer
    --------------------------------------------------------------------


    "Paul Caruthers" <pcaruthers@lamontagnebuilders.com> wrote in message
    news:41f1486d$1_1@newsprd01...
    Thanks for suggestions. I have explored and played with the "layer
    states" process. If I'm doing it correctly ( I have saved the 2 states
    that I would like) it is a several stroke process to flip between an "all
    layers on mode" to "what I want". The tool bar button/macro is faster.
    and far easier to explain to the other user in the office that
    is...barely cad literate....but a good guy anyway.

    Paul

Page 1 of 2 12 LastLast

Similar Threads

  1. New for AUTOLISP
    By Dan in forum AutoCAD
    Replies: 10
    Last Post: 08-08-2005, 05:10 PM
  2. AutoLisp Reference
    By Sunburned Surveyor in forum Customization
    Replies: 4
    Last Post: 03-17-2005, 08:21 PM
  3. Autolisp web site
    By media in forum Customization
    Replies: 4
    Last Post: 02-18-2005, 05:32 PM
  4. Macro or autolisp ?
    By Lon Jafraty in forum Customization
    Replies: 4
    Last Post: 01-24-2005, 03:07 PM
  5. AUTOLISP
    By MUXBOY in forum AutoCAD
    Replies: 1
    Last Post: 01-14-2005, 06:52 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
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum