Obsolete. Superseded by IAssemblyDoc::CopyWithMates2.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim ComponentsToCopy As System.Object
Dim Repeat As System.Object
Dim NewEnityToMateTo As System.Object
Dim Values As System.Object
Dim FlipAlignment As System.Object
Dim value As System.Boolean
value = instance.CopyWithMates(ComponentsToCopy, Repeat, NewEnityToMateTo, Values, FlipAlignment) |
Parameters
- ComponentsToCopy
- Array of components to copy
- Repeat
- Array of boolean values; each value indicates whether to use the existing mate reference for the corresponding component to copy: if true, copies the existing mate reference; if false, uses the corresponding entry in the NewEntityToMateTo array for the new mate reference
- NewEnityToMateTo
- Array of new mate references that map to the Repeat arrays; if an entry in the Repeat array is false, then the corresponding entry in this array is the new entity with which to mate the component to copy
- Values
- Array of distance or angle values for the mate references; specify distance in meters and angle in radians; valid for for distance and angle mates only
- FlipAlignment
- Array of booleans that map to the NewEntityToMateTo array; each value indicates the corresponding mate's alignment; true to flip alignment, false otherwise; valid for distance and angle mates only
Return Value
True if calling this method succeeded; false if it failed
Example
See Also
Availability
SOLIDWORKS 2010 FCS, Revision Number 18.0