drawing extents

drawing extents

sudarsann
Advocate Advocate
1,297 Views
1 Reply
Message 1 of 2

drawing extents

sudarsann
Advocate
Advocate

Hi,

how can i get the drawing extents (lower left corner of the drawing and upper right corner of the drawing) in model space by using the lisp.
When I enter the "status" command in the drawing, text screen shows like this.
I need only "Model space uses" points only. Is it possible to take in autolisp?

Model space limits are X: 0.00000000 Y: 0.00000000 (Off)
X: 12.00000000 Y: 9.00000000
Model space uses X: 10554.55628992 Y: -1086.68058065 **Over
X: 17462.60897057 Y: 4447.29852751 **Over
Display shows X: 7489.73548668 Y: -1111.20781536
X: 20527.71340162 Y: 5283.01580322
Insertion base is X: 0.00000000 Y: 0.00000000 Z: 0.00000000
Snap resolution is X: 0.50000000 Y: 0.50000000
Grid spacing is X: 0.50000000 Y: 0.50000000

---
---
---
---

I need only "Model space uses" points only. Is it possible to take only "Model space uses" points using autolisp?

Regards
Sudarsan

0 Likes
1,298 Views
1 Reply
Reply (1)
Message 2 of 2

ВeekeeCZ
Consultant
Consultant
These values are stored as system variables EXTMIN and EXTMAX.
(getvar 'EXTMIN)
(getvar 'EXTMAX)
0 Likes