Hide Table of Contents
MirrorComponents Method (IAssemblyDoc)

Obsolete. Superseded by IAssemblyDoc::MirrorComponents2.

.NET Syntax

Visual Basic (Declaration) 
Function MirrorComponents( _
   ByVal Plane As System.Object, _
   ByVal ComponentsToInstance As System.Object, _
   ByVal ComponentsToMirror As System.Object, _
   ByVal MirroredComponentFilenames As System.Object, _
   ByVal RecreateMates As System.Boolean, _
   ByVal ComponentModifier As System.Integer, _
   ByVal ComponentNameModifier As System.String, _
   ByVal MirroredFileLocation As System.String, _
   ByVal CopyCustomProperties As System.Boolean _
) As System.Object
Visual Basic (Usage) 
Dim instance As IAssemblyDoc
Dim Plane As System.Object
Dim ComponentsToInstance As System.Object
Dim ComponentsToMirror As System.Object
Dim MirroredComponentFilenames As System.Object
Dim RecreateMates As System.Boolean
Dim ComponentModifier As System.Integer
Dim ComponentNameModifier As System.String
Dim MirroredFileLocation As System.String
Dim CopyCustomProperties As System.Boolean
Dim value As System.Object
 
value = instance.MirrorComponents(Plane, ComponentsToInstance, ComponentsToMirror, MirroredComponentFilenames, RecreateMates, ComponentModifier, ComponentNameModifier, MirroredFileLocation, CopyCustomProperties)
C# 
System.object MirrorComponents( 
   System.object Plane,
   System.object ComponentsToInstance,
   System.object ComponentsToMirror,
   System.object MirroredComponentFilenames,
   System.bool RecreateMates,
   System.int ComponentModifier,
   System.string ComponentNameModifier,
   System.string MirroredFileLocation,
   System.bool CopyCustomProperties
)
C++/CLI 
System.Object^ MirrorComponents( 
&   System.Object^ Plane,
&   System.Object^ ComponentsToInstance,
&   System.Object^ ComponentsToMirror,
&   System.Object^ MirroredComponentFilenames,
&   System.bool RecreateMates,
&   System.int ComponentModifier,
&   System.String^ ComponentNameModifier,
&   System.String^ MirroredFileLocation,
&   System.bool 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


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:   MirrorComponents 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.