Reorganizes an assembly's structure by moving the selected components to the selected assembly or sub-assembly.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IReorganizeComponents( _
ByVal Count As System.Integer, _
ByRef Source As Component2, _
ByVal Target As System.Object _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim Count As System.Integer
Dim Source As Component2
Dim Target As System.Object
Dim value As System.Boolean
value = instance.IReorganizeComponents(Count, Source, Target) |
C# | |
---|
System.bool IReorganizeComponents(
System.int Count,
ref Component2 Source,
System.object Target
) |
C++/CLI | |
---|
System.bool IReorganizeComponents(
& System.int Count,
& Component2^% Source,
& System.Object^ Target
) |
Parameters
- Count
- Number of components to reorganize
- Source
- Array of selected components to more; all of the components must be at the same level in one parent assembly
- Target
- Where to move the components, which can be a top-level assembly or sub-assembly anywhere at any level of the hierarchy
Return Value
True if the selected components were moved to the selected assembly or sub-assembly, false if not
Remarks
See Also
Availability
SOLIDWORKS 2009 FCS, Revision Number 17.0