+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Senior Member
    Computer Details
    feargt's Computer Details
    Operating System:
    win 7
    Using
    Civil 3D 2012
    Join Date
    Sep 2008
    Location
    Austria
    Posts
    319

    Default Draw Order for "inbetween"

    Registered forum members do not see this ad.

    Hi,

    I've had an unsuccesful search for what I'm looking for. Has anybody come across a macro or lisp file that will allow a user to place for example a hatch over one object and below another object hence "inbetween". I've done some testing with the autocad command draworder but it poduces differing results. I originaly thought that by running the command twice in a lisp would work out (above object and then below object)but depending on the existing draw order of the objects selected the result varies. Has anyone any ideas?

    Thanks

  2. #2
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,707

    Default

    Could you not send each layer to the back consequetively, hence ordering the layers how you want them?
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

  3. #3
    Senior Member
    Computer Details
    feargt's Computer Details
    Operating System:
    win 7
    Using
    Civil 3D 2012
    Join Date
    Sep 2008
    Location
    Austria
    Posts
    319

    Default

    Naturally that could be done but it does not apply to the scenario for what it is needed,

    A few users have asked for something like this when they are producing layout plans for a project.

    Let me give an example, (I hope it's clear)

    I have a hatch representing a river, a hatch representing a new embankment, a hatch representing a new bridge crossing and a hatch representing rock fill under the bridge crossing but extending out over the new embankment

    the order of the hatch in visiblity order

    New bridge crossing,
    River
    Rock Fill
    New embankment

    The rock fill hatch is always the last to be made though and needs to be under the river hatch but above the new embankment.

    Any ideas?

    Thanks


    The above objects are on layers but there are other objects on these layers that also need to be in a different order. For example the boundary of the new embankment(drawn on same layer as the hatch for new embankent) must be above the river hatch.

    The order of the objects and layers is for this purpose "non-negotiable". Believe me if it was, I'd change that.
    Last edited by feargt; 20th Apr 2009 at 02:40 pm. Reason: Objects in layers in varying order

  4. #4
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,707

    Default

    How about using the "Draworder" > "Above Object" or "Under Object"
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

  5. #5
    Senior Member
    Computer Details
    StevJ's Computer Details
    Operating System:
    Xp Pro
    Using
    AutoCAD 2006
    Join Date
    Sep 2008
    Location
    Bremerton, Wa
    Posts
    100

    Default

    I used to use a program called Isodraw, where the Layer order was the draw order, and if you wanted something "in between," you had to make a layer for it, then put the layer where it needed to be. Simple and effective, but oh, so many layers.
    Autocad doesn't operate that way(that I'm aware of), and I'll admit I sometimes find myself wishing for such an option. I've noticed Autocad can be unpredictable when changing the draw order. Sometimes Send-to-Back doesn't do 100% of what it's supposed to do, so Bring-to-Front must be used on the other items, in combination, for the desired result.

    Steve

  6. #6
    Senior Member
    Computer Details
    feargt's Computer Details
    Operating System:
    win 7
    Using
    Civil 3D 2012
    Join Date
    Sep 2008
    Location
    Austria
    Posts
    319

    Default

    I have managed to find a solution, one that I did not know existed.
    The command

    "cdorder" allows the user to sort objects by colour, so this appears to allow the users here to do what is needed.

    This can also be used with just the command line version -cdorder allowing me to creat a lisp or macro to use on the most common cases of where it is required.

    Thanks for all the input.

  7. #7
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,707

    Default

    Registered forum members do not see this ad.

    hmmm... that is interesting, I have never heard of that command either - good to know

    Cheers
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

Similar Threads

  1. "save" in the file "pull down menu" not working
    By kfarrar in forum Civil 3D & LDD
    Replies: 9
    Last Post: 17th Feb 2010, 06:45 am
  2. trying to draw a "transition"
    By dumfatnhappy in forum AutoCAD 3D Modelling & Rendering
    Replies: 3
    Last Post: 7th Jan 2009, 01:16 am
  3. "LINK template" icons "greyed out" -why?
    By Chrisjpritchard in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 2nd Mar 2007, 10:25 pm
  4. scaling in "architectural" & "decimal"
    By maze in forum AutoCAD Beginners' Area
    Replies: 4
    Last Post: 15th Feb 2007, 04:55 pm
  5. "Union" Meshes or "Slice" 3D Mesh
    By Peter31712 in forum AutoCAD 3D Modelling & Rendering
    Replies: 1
    Last Post: 29th Apr 2004, 11:11 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