CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 811 

CAD tip CAD tip # 6433:

Question CAD 
 %  platform  category 
Q - question

Force layer for selected commands (objects).

A - answer The FLay LISP utility (reactor) automatically sets layers for drawing objects created with specific AutoCAD commands (assigns layers to commands). The settings are loaded from a customized definition file.

Using FLay you can put all newly created Texts, Dimensions, Hatches etc. to the respective predefined layers. If the layer does not exist, it will be created.

Just load the Flay.vlx file (APPLOAD) and start the FLAY command to load the definitions and enable the reactor.

The free CADstudio FLay utility can be downloaded from or from Exchange Apps.

Format of FLAY.TAB
The FLAY.TAB is a text file. The layers are defined on lines starting with an asterisk ("*"). The next line defines the list of all drawing commands which will be automatically redirected to this layer:

* layer_name [layer_color]
command1 command2 command3 ...

layer_name - the name of the layer to be used
layer_color - (optional) color to be used for the newly created layer
command1 command2 - English command names to be redirected to that layer


100% *  CAD 
14.12.2008    10268x  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 7169:PreSave reactor - automatic operations on drawing save.
Tip 5131:How to place dimensions or hatches automatically to preset layers?
Tip 4874:Switching layers on/off automatically when entering Model or Layout tabs.

Back   All CAD Tips All CAD tips&tricks

Forcing DWG format version for save in AutoCAD. « | » How to remove unwanted printers and plotters from the PLOT dialog?

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   

Link your AutoCAD texts with Excel tables/sheets. Export. Change. Import.
Try DwgText 2015 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.