CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 4498

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:

^C^CSELECTSIMILARMODE;0;_SELECTSIMILAR;\;_DRAWORDER;_back;SELECTSIMILARMODE;130;

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.

ACADLT
100% *  CAD 
22.7.2013    11990×  
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   



Featuring:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info


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