|
|
|
If you want to draw your dimensions, hatches, points or text always to fixed predefined layers, you can use several methods how to do this in plain AutoCAD (some vertical AutoCAD versions and add-ons offer this function automatically):
- you can customize (no programming) your AutoCAD toolbars so that the dimension functions will always start with a layer switch command:
_-LAYER;_Make;myDims;;_QDIM
- place dim commands or hatch patterns onto a user Palette (Ctrl+3) and in the properties of these items (rt-click, Properties) set the given value for the Layer property; if you start commands from palettes, this is the best option for you
- use a .LSP program to redefine (_UNDEFINE) the _DIMxxxx commands so that they will always start with a layer switch command (_-LAYER)
- attach a reactor to the dimensioning commands which will automatically switch to a specified layer (and then switch the layer back)
- you can also change layer ex-post - use QSELECT or the Properties window to select all dimensions and then change their Layer property to the target layer
Probably the most effective way are the palettes (2) and reactors (4). As an example of such reactor you can use the free utility AutoLay (see Download) or FLay (see Download), which places all drawn dimensions, hatches and texts to fixed predefined layers. Just load the LISP utility into AutoCAD (APPLOAD) and switch it on with the AutoLay (or FLay) command.
E.g. for FLay, you just prepare a simple text file FLay.tab with layer names for the individual object types (this file is loaded by the FLay utility). That's all, you can use standard commands. An example (hatches, red texts):
* Texts 1
TEXT MTEXT DTEXT
* Hatch
HATCH BHATCH
|
|
ACAD
|
* CAD
|
21.7.2006
64113×
FAQ
|
|
|