Obsolete. Superseded by IAssemblyDoc::MirrorComponents3.
.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) |
CSOLIDWORKS.Interop.sldworks~SOLIDWORKS.Interop.sldworks.IAssemblyDoc~MirrorComponents2.html# | |
---|
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
- 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
- ComponentsToMirror
- Array of seed components with which to create opposite-hand mirror components
- 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 and MirroredComponentFilenames are not null and NameModifierType is swMirrorComponentNameModifier_e.swMirrorComponentName_Custom
- MirroredComponentFilenames
Array of mirror part file names whose names can be further modified by the settings of NameModifierType and NameModifier; if CreateDerivedConfigurations is true, then this array contains the names for the new configurations and NameModifierType must be swMirrorComponentNameModifier_e.swMirrorComponentName_Custom; valid only if ComponentsToMirror is not null
- NameModifierType
- Mirror part file name modifier type as defined in swMirrorComponentNameModifier_e; valid only if ComponentsToMirror and MirroredComponentFilenames are not null
- 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 ComponentsToMirror and if MirroredComponentFilenames are not null
- MirroredComponentFileLocation
- Folder 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 in the mirror part, false to flip the Z-axis orientation in the mirror part
Return Value
Array of mirror
components
See Also
Availability
SOLIDWORKS 2015 FCS, Revision Number 23.0