[Search tip detail and code files using keywords, tip number, author name, etc ]
 
Monitor System Variables
Tip# 4262 By Kevin Davis On 24-Feb-2014
0
Rated By 0 users
Categories : Custom, Diesel
Software type : AutoCAD 2014
Rename File To : No Files to download.
Using the MODEMACRO system variable is an easy customization method.

Tipster Kevin Davis works with AutoCAD drawings that often have sheets with more than one drawing scale. Each sheet has its own dimension style that changes the DIMLFAC value. As a quick reminder of what the current drawing scale is, he uses this code in his MODEMACRO system variable:

     DWG SCALE=$(Rtos, $(/, 1 , $(GETVAR, DIMLFAC)))

It takes the reciprocal of the current DIMLFAC value and rounds it to the precision currently defined by UNITS.

Notes from Cadalyst tip reviewer R.K. McSwain: Using the MODEMACRO system variable to display messages in the status bar is often overlooked as an easy method of customization. Monitoring system variables is only the start of things you can do.

 

Average Rating:
0


User comments


Log In