Gets the selected entities bounding box from an add-in.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub GetSelectedObjectsBBox( _
ByVal pDoc As System.Object, _
ByVal Option As System.Integer, _
ByRef BoxCorners As System.Object _
) |
Visual Basic (Usage) | |
---|
Dim instance As ISwAddinBroker
Dim pDoc As System.Object
Dim Option As System.Integer
Dim BoxCorners As System.Object
instance.GetSelectedObjectsBBox(pDoc, Option, BoxCorners) |
C# | |
---|
void GetSelectedObjectsBBox(
System.object pDoc,
System.int Option,
out System.object BoxCorners
) |
C++/CLI | |
---|
void GetSelectedObjectsBBox(
& System.Object^ pDoc,
& System.int Option,
& [Out] System.Object^ BoxCorners
) |
Parameters
- pDoc
- SolidWorks document
- Option
Option as defined in swAddinBrokerBBoxOption_e
- BoxCorners
- Array of six doubles of the points of the bounding box
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0