Gets all of the components in the active configuration of this assembly.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetComponents( _
ByVal ToplevelOnly As System.Boolean _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim ToplevelOnly As System.Boolean
Dim value As System.Object
value = instance.GetComponents(ToplevelOnly) |
CSOLIDWORKS.Interop.sldworks~SOLIDWORKS.Interop.sldworks.IAssemblyDoc~GetComponents.html# | |
---|
System.object GetComponents(
System.bool ToplevelOnly
) |
C++/CLI | |
---|
System.Object^ GetComponents(
& System.bool ToplevelOnly
) |
Parameters
- ToplevelOnly
- True to get only the top-level components of the FeatureManager design tree, false to get both the top-level and child components in the FeatureManager design tree
Return Value
Array of
IComponent2s (see
Remarks)
Example
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14