GetBoundingBox Method (IBlockInstance) Send Feedback
See Also 
X1[out]
x coordinate of a corner of the bounding box
Y1[out]
y coordinate of a corner of the bounding box
Z1[out]
z coordinate of a corner of the bounding box
X2[out]
x coordinate of the opposite diagonal corner of the bounding box
Y2[out]
y coordinate of the opposite diagonal corner of the bounding box
Z2[out]
z coordinate of the opposite diagonal corner of the bounding box
Gets the bounding box enclosing the Block instance.

Syntax

Visual Basic 
Sub GetBoundingBox( _
   ByRef X1 As System.Double, _
   ByRef Y1 As System.Double, _
   ByRef Z1 As System.Double, _
   ByRef X2 As System.Double, _
   ByRef Y2 As System.Double, _
   ByRef Z2 As System.Double _
) 
C# 
void GetBoundingBox( 
   out System.double X1,
   out System.double Y1,
   out System.double Z1,
   out System.double X2,
   out System.double Y2,
   out System.double Z2
)
JavaScript 
GetBoundingBox(
) : {
   X1 : Number,
   Y1 : Number,
   Z1 : Number,
   X2 : Number,
   Y2 : Number,
   Z2 : Number
}
COM native C++ 
HRESULT GetBoundingBox( 
   DOUBLE* X1,
   DOUBLE* Y1,
   DOUBLE* Z1,
   DOUBLE* X2,
   DOUBLE* Y2,
   DOUBLE* Z2
) 
C++ 
DSRESULT GetBoundingBox( 
   double* X1,
   double* Y1,
   double* Z1,
   double* X2,
   double* Y2,
   double* Z2
) 

Parameters

X1[out]
x coordinate of a corner of the bounding box
Y1[out]
y coordinate of a corner of the bounding box
Z1[out]
z coordinate of a corner of the bounding box
X2[out]
x coordinate of the opposite diagonal corner of the bounding box
Y2[out]
y coordinate of the opposite diagonal corner of the bounding box
Z2[out] or Return Value
z coordinate of the opposite diagonal corner of the bounding box
 

See Also

Availability

DraftSight V1R1.3