CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 4053

CAD tip CAD tip # 9350:

Question CAD 
 %  platform  category 
Q - question

How to move the draw order of all images or hatches to back?

A - answer The command DRAWORDER requests to select individual objects. But if you need to move to back (under all other drawing entities) all images or hatches, you can simplify this process with a menu macro.

In the full version of AutoCAD you can add (using CUI) the following command - LISP expression - to your ribbon or to a keyboard shortcut. It selects all drawing objects of the type Image and changes their draw order to back:

(if (setq _obr (ssget "_X" ‘((0 . "IMAGE"))))(command "_DRAWORDER" _obr "" "_BACK"))

Similarly you can move the objects "HATCH" instead of "IMAGE" - but there is already an existing internal command for this - HATCHTOBACK. The above listed macro is something like an "IMAGETOBACK".

In AutoCAD LT, where there is no AutoLISP, you can use a menu macro with similar functionality:


It prompts to select an object (select e.g. an image) and then it moves all objects of the same type (e.g. all images) to back.

NOTE: more detailed options for controlling draworder by object type offers the CADstudio DOBT utility.

100% *  CAD 
22.7.2013    8375×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD LT ·

See also:

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.