+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member erona's Avatar
    Using
    AutoCAD 2007
    Join Date
    Feb 2005
    Location
    Philippines
    Posts
    306

    Default ... make a layer to always draw...

    Registered forum members do not see this ad.

    ... behind other objects?

    I have a layer named "XL" which I always use for construction lines but I want it to always draw behind all other objects. Using DRAWORDER is OK but I was wondering if there is a way to make it 'automatic' in order to speed up my workflow.

    thanks
    erona

    "AutoCAD habangbuhay" not anymore... moved to Vectorworks>Cinema4D

    Just got back to AutoCAD. Modeling directly in C4D.

  2. #2
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,540

    Default

    Well, a dirty way could be this:
    Lock the layer XL or better turn it off. Select all the objects on the screen and do a COPYBASE. Enter #0,0,0 as origin. Now delete the objects and press CTR+V to bring them back from the clipbord. When prompted for the insertion point specify the same #0,0,0.
    All these objects are new in the drawing so are in the front of the existing ones -those plased on the layer XL.
    Just my oppinion
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

  3. #3
    Super Member ASMI's Avatar
    Using
    AutoCAD 2008
    Join Date
    Nov 2005
    Location
    Oceanus Procellarum, Moon
    Posts
    1,427

    Default

    Make button macro:
    Code:
    ^C^C(sssetfirst nil (ssget "_X" '((8 . "XL"))))(command "_.draworder" "_b")

  4. #4
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,540

    Default

    Wow Asmi!
    Great solution.
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

  5. #5
    Senior Member erona's Avatar
    Using
    AutoCAD 2007
    Join Date
    Feb 2005
    Location
    Philippines
    Posts
    306

    Default

    thanks asmi but how do i use it and how does it work? im using 2007
    erona

    "AutoCAD habangbuhay" not anymore... moved to Vectorworks>Cinema4D

    Just got back to AutoCAD. Modeling directly in C4D.

  6. #6
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,540

    Default

    Enter CUI in the command line (and have some patience) and create a new button. Add the text sent by ASMI as macro.
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

  7. #7
    Senior Member erona's Avatar
    Using
    AutoCAD 2007
    Join Date
    Feb 2005
    Location
    Philippines
    Posts
    306

    Default

    I have created the button but it only makes me select objects then asks me to enter object ordering option. Its just like using DRAWORDER.

    What I wanted to do was to make NEW objects under a certain layer to always be set to "Back" in object order. Repeating DRAWORDER for every new objects created slows down my workflow.

    OR, something I missed in the macro button from ASMI.
    erona

    "AutoCAD habangbuhay" not anymore... moved to Vectorworks>Cinema4D

    Just got back to AutoCAD. Modeling directly in C4D.

  8. #8
    Forum Deity
    Using
    not specified
    Join Date
    Jul 2004
    Location
    Anchorage, Alaska
    Posts
    2,074

    Default

    If working properly, when you pick the button the macro should run, automatically moving everything on layer "xl" to the back. No user interaction. As needed, click the button to move newly created items on XL to the back.

  9. #9
    Senior Member erona's Avatar
    Using
    AutoCAD 2007
    Join Date
    Feb 2005
    Location
    Philippines
    Posts
    306

    Default

    i see, thanks for clearing that out for me CarlB

    not really I expected but cuts me the time to select construction lines...

    thanks ASMI & fuccaro
    erona

    "AutoCAD habangbuhay" not anymore... moved to Vectorworks>Cinema4D

    Just got back to AutoCAD. Modeling directly in C4D.

  10. #10
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,540

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by erona View Post
    thanks ASMI & fuccaro
    ... and CarlB I would say
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

Similar Threads

  1. How best to draw a DPM
    By ScottWMcQ in forum AutoCAD Beginners' Area
    Replies: 9
    Last Post: 27th Feb 2007, 04:21 pm
  2. Layer box and layer display order
    By Galingula in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 7th Aug 2006, 07:03 pm
  3. Make a new layer frozen in previous viewports
    By Vj in forum AutoCAD General
    Replies: 1
    Last Post: 14th Dec 2005, 09:59 pm
  4. No option to save layer state in layer manager - Help!
    By cameronsf in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 9th Feb 2005, 11:50 am
  5. How to make the layer drop-down list wider?
    By Hazdaz in forum AutoCAD Drawing Management & Output
    Replies: 5
    Last Post: 20th Mar 2004, 07:06 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