Get Bounding Box

Get Bounding Box

Anonymous
Not applicable
3,003 Views
2 Replies
Message 1 of 3

Get Bounding Box

Anonymous
Not applicable
In vba, i wrote, ENT_A1.GetBoundingBox MinBndPt, MaxBndPt but in vb.net how can i get the Min and Max bounding points?
0 Likes
3,004 Views
2 Replies
Replies (2)
Message 2 of 3

kerry_w_brown
Advisor
Advisor

Signatures :

public virtual Extents3d get_GeometricExtents();
 
Declaring Type: Autodesk.AutoCAD.DatabaseServices.Entity 

 and

public struct Extents3d : IFormattable
 
Name: Autodesk.AutoCAD.DatabaseServices.Extents3d 

 .... give you something to search for;

Regards

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
Message 3 of 3

kerry_w_brown
Advisor
Advisor

 

This code is fairly dated, but relevant.

http://www.theswamp.org/index.php?topic=14627.msg176526#msg176526

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper