Hide Table of Contents
MirrorComponents2 Method (IAssemblyDoc)

Mirrors the specified components in this assembly.

.NET Syntax

Visual Basic (Declaration) 
Function MirrorComponents2( _
   ByVal MirrorPlane As System.Object, _
   ByVal ComponentsToInstance As System.Object, _
   ByVal ComponentOrientations As System.Object, _
   ByVal OrientAboutCenterOfMass As System.Boolean, _
   ByVal ComponentsToMirror As System.Object, _
   ByVal CreateDerivedConfigurations As System.Boolean, _
   ByVal MirroredComponentFilenames As System.Object, _
   ByVal NameModifierType As System.Integer, _
   ByVal NameModifier As System.String, _
   ByVal MirroredComponentFileLocation As System.String, _
   ByVal ImportOptions As System.Integer, _
   ByVal BreakLinks As System.Boolean, _
   ByVal PreserveZAxis As System.Boolean _
) As System.Object
Visual Basic (Usage) 
Dim instance As IAssemblyDoc
Dim MirrorPlane As System.Object
Dim ComponentsToInstance As System.Object
Dim ComponentOrientations As System.Object
Dim OrientAboutCenterOfMass As System.Boolean
Dim ComponentsToMirror As System.Object
Dim CreateDerivedConfigurations As System.Boolean
Dim MirroredComponentFilenames As System.Object
Dim NameModifierType As System.Integer
Dim NameModifier As System.String
Dim MirroredComponentFileLocation As System.String
Dim ImportOptions As System.Integer
Dim BreakLinks As System.Boolean
Dim PreserveZAxis As System.Boolean
Dim value As System.Object
 
value = instance.MirrorComponents2(MirrorPlane, ComponentsToInstance, ComponentOrientations, OrientAboutCenterOfMass, ComponentsToMirror, CreateDerivedConfigurations, MirroredComponentFilenames, NameModifierType, NameModifier, MirroredComponentFileLocation, ImportOptions, BreakLinks, PreserveZAxis)
C# 
System.object MirrorComponents2( 
   System.object MirrorPlane,
   System.object ComponentsToInstance,
   System.object ComponentOrientations,
   System.bool OrientAboutCenterOfMass,
   System.object ComponentsToMirror,
   System.bool CreateDerivedConfigurations,
   System.object MirroredComponentFilenames,
   System.int NameModifierType,
   System.string NameModifier,
   System.string MirroredComponentFileLocation,
   System.int ImportOptions,
   System.bool BreakLinks,
   System.bool PreserveZAxis
)
C++/CLI 
System.Object^ MirrorComponents2( 
&   System.Object^ MirrorPlane,
&   System.Object^ ComponentsToInstance,
&   System.Object^ ComponentOrientations,
&   System.bool OrientAboutCenterOfMass,
&   System.Object^ ComponentsToMirror,
&   System.bool CreateDerivedConfigurations,
&   System.Object^ MirroredComponentFilenames,
&   System.int NameModifierType,
&   System.String^ NameModifier,
&   System.String^ MirroredComponentFileLocation,
&   System.int ImportOptions,
&   System.bool BreakLinks,
&   System.bool PreserveZAxis
) 

Parameters

MirrorPlane
Reference plane or planar face about which to mirror the components
ComponentsToInstance
Array of seed components with which to create copy mirror components; only valid if ComponentsToMirror is null
ComponentOrientations

Array of swMirrorComponentOrientation_e values; valid only if ComponentsToInstance is not null

OrientAboutCenterOfMass
True to orient the mirror components about the center of mass, false to orient them about the bounding box center; valid only if ComponentsToInstance is not null
ComponentsToMirror
Array of seed components with which to create opposite-hand mirror components; only valid if ComponentsToInstance is null
CreateDerivedConfigurations
True to create a derived configuration of the mirror components in the original assembly, false to create new part files; valid only if ComponentsToMirror is not null
MirroredComponentFilenames
Array of mirror part file names; valid only if CreateDerivedConfigurations is false and NameModifierType is swMirrorComponentNameModifier_e.swMirrorComponentName_Prefix or swMirrorComponentNameModifier_e.swMirrorComponentName_Suffix
NameModifierType
Mirror part file name modifier type as defined in swMirrorComponentNameModifier_e; valid only if CreateDerivedConfigurations is false
NameModifier
Prefix or suffix to apply to file names of mirror parts; valid only if NameModifierType is swMirrorComponentNameModifier_e.swMirrorComponentName_Prefix or swMirrorComponentNameModifier_e.swMirrorComponentName_Suffix and CreateDerivedConfigurations is false
MirroredComponentFileLocation
Directory where to save the mirror parts; valid only if CreateDerivedConfigurations is false
ImportOptions

Mirror transfer options as defined in swMirrorPartOptions_e

BreakLinks
True to break the links between the mirror parts and the original parts, false to keep the links
PreserveZAxis
True to mirror the Z-axis orientation, false to flip the Z-axis orientation in the mirror part

Return Value

Array of mirror components

Example

 

See Also

Availability

SOLIDWORKS 2015 FCS, Revision Number 23.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   MirrorComponents2 Method (IAssemblyDoc)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:




x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2015 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.