Mirrors the specified components in this assembly.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim Plane As Object
Dim ComponentsToInstance As Object
Dim ComponentsToMirror As Object
Dim MirroredComponentFilenames As Object
Dim RecreateMates As Boolean
Dim ComponentModifier As Integer
Dim ComponentNameModifier As String
Dim MirroredFileLocation As String
Dim CopyCustomProperties As Boolean
Dim value As Object
value = instance.MirrorComponents(Plane, ComponentsToInstance, ComponentsToMirror, MirroredComponentFilenames, RecreateMates, ComponentModifier, ComponentNameModifier, MirroredFileLocation, CopyCustomProperties)
|
Parameters
- Plane
- Plane or planar face about which to mirror the components
- ComponentsToInstance
- Array of instances of the component to mirror
- ComponentsToMirror
- Array of components to mirror
- MirroredComponentFilenames
- Array of filenames for the newly created mirrored assemblies or parts
- RecreateMates
- True to preserve any mates between the selected components if more than one component is to be mirrored, false to not
- ComponentModifier
- Prefix or suffix for the newly mirrored components if MirroredComponentFilenames is not specified, as defined by swMirrorComponentNameModifier_e
- ComponentNameModifier
- String to add to the prefix or suffix of the name of the newly mirrored component if MirroredComponentFilenames is not specified
- MirroredFileLocation
Name of the folder where to store the file of the newly created mirrored components
- CopyCustomProperties
- True to copy the custom properties from the selected components to the mirrored components, false to not
Return Value
Array of the newly created
components
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0