Any advice on how to send an entire layer to the back in display order, not just entities?
Civil 3D 2008
you have to make a selection set. qselect all enties by layer
Your Name
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Thanks! I will give that a shot.
Honestly, I am kind of astonished that there's not an easier way to control layer orders.
AutoCAD has never used that sort of system to control draw order. Instead, it allows us to control draw order by individual objects. This gives us more flexibility, but it can be argued that it gives us TOO MUCH flexibility, and controlling draw order on a per-layer basis would work better in many situations.
Given how many years AutoCAD has been the way it is, however, I wouldn't hold my breath on seeing this change any time soon...
Incidentally, there is a tool on Autodesk Labs that will do this.
I know this is an old thread, but Im having trouble loading the dll file. This is what I get when I use the NETLOAD command:
Cannot load assembly. Error details: System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Program Files\Autodesk\AutoCAD 2012 - English\adnPlugin-DrawOrderByLayer.dll' or one of its dependencies. Operation
is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///C:\Program Files\Autodesk\AutoCAD 2012 - English\adnPlugin-DrawOrderByLayer.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework.
This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile,
Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm
hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks,
StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
at loadmgd()
It was created a while ago. it's probably not compatible with your version of AutoCAD. In the link it says it was tested on 2007, which likely would make it not work for 2010 and above.
Check out Lee Mac's lisp for this
http://lee-mac.com/layerdraworder.html
Mark Green
Working on Civil 3D in Canada