you have to make a selection set. qselect all enties by layer
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.
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection, Boolean suppressSecurityChecks)
Evidence securityEvidence, Byte hashValue, AssemblyHashAlgorithm
hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks,
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
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
Credit where credit is due! Give kudos or accept as solution whenever you can.
Access a broad range of knowledge to help get the most out of your products and services.