Gets the number of visible entities of the specified type for the specified component in this drawing view.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetVisibleEntityCount2( _
ByVal LpViewComponent As Component2, _
ByVal EntityType As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IView
Dim LpViewComponent As Component2
Dim EntityType As System.Integer
Dim value As System.Integer
value = instance.GetVisibleEntityCount2(LpViewComponent, EntityType) |
Parameters
- LpViewComponent
- Component from which to get the visible EntityType
- EntityType
Type of entity as defined in swViewEntityType_e
Return Value
Number of visible entities of EntityType in LpViewComponent
Remarks
See Also
Availability
SolidWorks 2014 FCS, Revision Number 22.0