(strcat "(rtos (expt (getvar "dimscale") -1))" "xp")
or,
get dimscale;
use expt function to create inverse;
use rtos function to convert real number dimscale inverse to string;
use strcat to join with xp on zoom command line.
I am a Lisp beginner, wanting to know just enough to do what I need to do.
Not knowing what the zoom command really wants doesn't help. Any thoughts
from those of you that don't think this is Greek are appreciated. Thanks,
Marc
(command "zoom" (strcat (rtos (expt (getvar "dimscale") -1)) "xp"))
Marc Beique wrote:
--
|
----+----------------------------------------------
| Byron Blattel
| CADwerx---Applications for AutoCAD
|
| e-mail: cad...@texas.net
| web site: http://lonestar.texas.net/~cadwerx