calculate area of a block refere..if not possible can we get vertices of block

calculate area of a block refere..if not possible can we get vertices of block

Anonymous
Not applicable
351 Views
1 Reply
Message 1 of 2

calculate area of a block refere..if not possible can we get vertices of block

Anonymous
Not applicable

Hi,

 

I am very new to programming autocad through .net.

Question : Is it possible to compute area of a block reference.If we are not able to get the area directly

may be through coordinate system will use the below formula to compute the area

 

https://www.mathopenref.com/coordpolygonarea.html

 

In order to use the above formula..i should get all the vertices of the block reference..

 

can any explain,any of the above specified things is possible..

0 Likes
352 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant

Hi,

 

Basically, a block reference is a transformed geometric representation of a block definition inserted in some space (or another block definition).

A block definition is a collection of entites, which may or may not not have an "area".

So, the" area of a block reference" does not make sense.

 

The area of some entity (or entities) contained in the block definition can be computed.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes