Gets the number of components in the active configuration of this assembly.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetComponentCount( _
ByVal TopLevelOnly As System.Boolean _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim TopLevelOnly As System.Boolean
Dim value As System.Integer
value = instance.GetComponentCount(TopLevelOnly) |
C++/CLI | |
---|
System.int GetComponentCount(
& System.bool 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