Gets the number of components in the active configuration of this assembly.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetComponentCount( _
ByVal TopLevelOnly As Boolean _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim TopLevelOnly As Boolean
Dim value As Integer
value = instance.GetComponentCount(TopLevelOnly)
|
Parameters
- TopLevelOnly
- True to get only the number of components at the top level of the FeatureManager design tree, false to get the number of top level and all child components in the FeatureManager design tree
Return Value
Number of components
Remarks
See Also
Availability
SolidWorks 2006 FCS, Revision Number 14