Gets the bodies in this part.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetBodies2( _
ByVal BodyType As System.Integer, _
ByVal BVisibleOnly As System.Boolean _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IPartDoc
Dim BodyType As System.Integer
Dim BVisibleOnly As System.Boolean
Dim value As System.Object
value = instance.GetBodies2(BodyType, BVisibleOnly) |
CSolidWorks.Interop.sldworks~SolidWorks.Interop.sldworks.IPartDoc~GetBodies2.html# | |
---|
System.object GetBodies2(
System.int BodyType,
System.bool BVisibleOnly
) |
Parameters
- BodyType
Type of body as defined in swBodyType_e
- BVisibleOnly
True gets only the visible bodies, false gets all of the bodies in the part
Return Value
Array of
bodies
Example
Remarks
See Also
Availability
SOLIDWORKS 2003 FCS, Revision Number 11.0