CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 8433 
Plex.Earth connects AutoCAD and Google Earth

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    6016×  
Comments   Tell a friend
applies to: AutoCAD · AutoCAD LT ·

See also:
Tip 11570:How to create an Inventor drawing from a photo?
Tip 9255:Align image, change width/height independently.
Tip 8754:Thumbnail settings can influence AutoCAD DWG file size.
Tip 7869:New raster formats supported in AutoCAD 2012.
Tip 7654:Three methods for transparent images in AutoCAD.

Back   All CAD Tips All CAD tips&tricks

Interactive display and polygon statistics of FBX, DXF, 3DS scenes « | » How to add custom paper format to AutoCAD? (grayed)

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   

Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info

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