Set Limits to Dimscale
Set Limits to Dimscale
(OP)
Greetings all,
I'm trying to write a script that will reset the drawing limits according to the dimscale using the following code:
LIMITS
0,0
'cal
getvar(dimscale)*[36,24]
zoom all
It appears to work fine, i.e. no errors, but the upper limits aren't being set. Anything wrong here?
Thanks,
Keith
I'm trying to write a script that will reset the drawing limits according to the dimscale using the following code:
LIMITS
0,0
'cal
getvar(dimscale)*[36,24]
zoom all
It appears to work fine, i.e. no errors, but the upper limits aren't being set. Anything wrong here?
Thanks,
Keith
RE: Set Limits to Dimscale
and it returned 3 numbers separated by commas (such as 36,24,0)
which was probably rejected by the limits command
RE: Set Limits to Dimscale
LIMITS
0,0
(list (* (getvar 'dimscale) 36) (* (getvar 'dimscale) 24))
zoom all
Thanks