LinkedMirrorPartBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# LinkedMirrorPartBuilder Class

class `NXOpen.``LinkedMirrorPartBuilder`

  Bases: `NXOpen.Builder`

  builder class of LinkedMirrorPartBuilder

  To create a new instance of this class, use `NXOpen.PartCollection.CreateLinkedMirrorPartBuilder()`

  Default values.

  Property | Value
  --- | ---
  MirrorCsysMethod | MirrorXYAndDeriveZ

  New in version NX8.5.0.

# Properties

Property | Description
--- | ---
MirrorCsysMethod | Returns or sets the method specifying how to mirror coordinate systems
MirrorPartName | Returns or sets the name of the new mirror part
MirrorPartType | Returns or sets the type of mirror part which controls how the mirrored part responds to changes in source part
MirrorPlane | Returns or sets the plane about which the entities are mirrored
MirrorPlaneNormal | Returns or sets the normal of the mirror plane
MirrorPlaneOrigin | Returns or sets the origin of the mirror plane
MirrorPmiFlag | Returns or sets the option that determines if PMI entities will be mirrored
NewPart | Returns or sets the target mirrored part in which the mirrored geometries are created
ParentPart | Returns or sets the source part which is being mirrored
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Commit | Commits any edits that have been applied to the builder.
Destroy | Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit.
GetObject | Returns the object currently being edited by this builder.
GetRefSetNames | Gets the names of the reference sets that are selected for mirroring
SetRefSetNames | Sets the names of the reference sets that are selected for mirroring
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

LinkedMirrorPartBuilderMirrorCsysOption Enumeration | type of mirror of CSYS The first two axes are mirrored, and the third one is derived from the two mirrored axes using the right hand convention
LinkedMirrorPartBuilderMirrorPartTypeOption Enumeration | type of mirror part

# Property Detail

## MirrorCsysMethod

`LinkedMirrorPartBuilder.``MirrorCsysMethod`

  Returns or sets the method specifying how to mirror coordinate systems

  `-------------------------------------`

  Getter Method

  Signature `MirrorCsysMethod`

  Returns: |
  Return type: | `NXOpen.LinkedMirrorPartBuilderMirrorCsysOption`

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

  `-------------------------------------`

  Setter Method

  Signature `MirrorCsysMethod`

  Parameters: | mirrorCsysMethod (`NXOpen.LinkedMirrorPartBuilderMirrorCsysOption`) –

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## MirrorPartName

`LinkedMirrorPartBuilder.``MirrorPartName`

  Returns or sets the name of the new mirror part

  `-------------------------------------`

  Getter Method

  Signature `MirrorPartName`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

  `-------------------------------------`

  Setter Method

  Signature `MirrorPartName`

  Parameters: | mirrorPartName (str) –

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## MirrorPartType

`LinkedMirrorPartBuilder.``MirrorPartType`

  Returns or sets the type of mirror part which controls how the mirrored part responds to changes in source part

  `-------------------------------------`

  Getter Method

  Signature `MirrorPartType`

  Returns: |
  Return type: | `NXOpen.LinkedMirrorPartBuilderMirrorPartTypeOption`

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

  `-------------------------------------`

  Setter Method

  Signature `MirrorPartType`

  Parameters: | mirrorOption (`NXOpen.LinkedMirrorPartBuilderMirrorPartTypeOption`) –

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## MirrorPlane

`LinkedMirrorPartBuilder.``MirrorPlane`

  Returns or sets the plane about which the entities are mirrored

  `-------------------------------------`

  Getter Method

  Signature `MirrorPlane`

  Returns: |
  Return type: | `NXOpen.Plane`

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

  `-------------------------------------`

  Setter Method

  Signature `MirrorPlane`

  Parameters: | mirrorPlane (`NXOpen.Plane`) –

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## MirrorPlaneNormal

`LinkedMirrorPartBuilder.``MirrorPlaneNormal`

  Returns or sets the normal of the mirror plane

  `-------------------------------------`

  Getter Method

  Signature `MirrorPlaneNormal`

  Returns: | Normal vector of mirror plane
  Return type: | `NXOpen.Vector3d`

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

  `-------------------------------------`

  Setter Method

  Signature `MirrorPlaneNormal`

  Parameters: | normal (`NXOpen.Vector3d`) – Normal vector of mirror plane

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## MirrorPlaneOrigin

`LinkedMirrorPartBuilder.``MirrorPlaneOrigin`

  Returns or sets the origin of the mirror plane

  `-------------------------------------`

  Getter Method

  Signature `MirrorPlaneOrigin`

  Returns: | Origin point of mirror plane
  Return type: | `NXOpen.Point3d`

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

  `-------------------------------------`

  Setter Method

  Signature `MirrorPlaneOrigin`

  Parameters: | origin (`NXOpen.Point3d`) – Origin point of mirror plane

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## MirrorPmiFlag

`LinkedMirrorPartBuilder.``MirrorPmiFlag`

  Returns or sets the option that determines if PMI entities will be mirrored

  `-------------------------------------`

  Getter Method

  Signature `MirrorPmiFlag`

  Returns: |
  Return type: | bool

  New in version NX8.5.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `MirrorPmiFlag`

  Parameters: | mirrorPmiFlag (bool) –

  New in version NX8.5.0.

  License requirements: None.

## NewPart

`LinkedMirrorPartBuilder.``NewPart`

  Returns or sets the target mirrored part in which the mirrored geometries are created

  `-------------------------------------`

  Getter Method

  Signature `NewPart`

  Returns: |
  Return type: | `NXOpen.Part`

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

  `-------------------------------------`

  Setter Method

  Signature `NewPart`

  Parameters: | newPart (`NXOpen.Part`) –

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## ParentPart

`LinkedMirrorPartBuilder.``ParentPart`

  Returns or sets the source part which is being mirrored

  `-------------------------------------`

  Getter Method

  Signature `ParentPart`

  Returns: |
  Return type: | `NXOpen.Part`

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

  `-------------------------------------`

  Setter Method

  Signature `ParentPart`

  Parameters: | parentPart (`NXOpen.Part`) –

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

# Method Detail

## GetRefSetNames

`LinkedMirrorPartBuilder.``GetRefSetNames`

  Gets the names of the reference sets that are selected for mirroring

  Signature `GetRefSetNames()`

  Returns: | An array of reference set names
  Return type: | list of str

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## SetRefSetNames

`LinkedMirrorPartBuilder.``SetRefSetNames`

  Sets the names of the reference sets that are selected for mirroring

  Signature `SetRefSetNames(refSetNames)`

  Parameters: | refSetNames (list of str) –

  New in version NX8.5.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## Validate

`LinkedMirrorPartBuilder.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.