Length or width of Border using .NET VBA

Length or width of Border using .NET VBA

Anonymous
Not applicable
794 Views
4 Replies
Message 1 of 5

Length or width of Border using .NET VBA

Anonymous
Not applicable

Is it possible to get the width or length of the autocad drawing's border using .NET VBA. ? Can someone suggest a method to identify an Entity as a border.

0 Likes
Accepted solutions (2)
795 Views
4 Replies
Replies (4)
Message 2 of 5

_gile
Consultant
Consultant
Accepted solution

Hi

 

Not sure what you mean with "drawing's border" but you can have a look at the EXTMIN / EXTMAX and LIMMIN / LIMMAX system variables values to see if any correspond to what you're looking for.

 

Please, give some feedback to the replies you get.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 5

Anonymous
Not applicable

Hi,

Thank you very much. EXTMIN, EXTMAX is what I'm looking for. Is it possible to access these System Variables using .NET Autocad ActiveX(VBA) ? I want these values in my Application.

0 Likes
Message 4 of 5

_gile
Consultant
Consultant
Accepted solution

Have a look at Document.GetVariable() method.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 5 of 5

Anonymous
Not applicable

Hi. 

I got it. Thanks for helping. 

 

0 Likes