LinkedMirrorPartBuilder Class¶
-
class
NXOpen.LinkedMirrorPartBuilder¶ Bases:
NXOpen.Builderbuilder 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
MirrorCsysMethodReturns: Return type: NXOpen.LinkedMirrorPartBuilderMirrorCsysOptionNew in version NX8.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
MirrorCsysMethodParameters: 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
MirrorPartNameReturns: Return type: str New in version NX8.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
MirrorPartNameParameters: 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
MirrorPartTypeReturns: Return type: NXOpen.LinkedMirrorPartBuilderMirrorPartTypeOptionNew in version NX8.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
MirrorPartTypeParameters: 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
MirrorPlaneReturns: Return type: NXOpen.PlaneNew in version NX8.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
MirrorPlaneParameters: 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
MirrorPlaneNormalReturns: Normal vector of mirror plane Return type: NXOpen.Vector3dNew in version NX8.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
MirrorPlaneNormalParameters: normal ( NXOpen.Vector3d) – Normal vector of mirror planeNew 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
MirrorPlaneOriginReturns: Origin point of mirror plane Return type: NXOpen.Point3dNew in version NX8.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
MirrorPlaneOriginParameters: origin ( NXOpen.Point3d) – Origin point of mirror planeNew 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
MirrorPmiFlagReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MirrorPmiFlagParameters: 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
NewPartReturns: Return type: NXOpen.PartNew in version NX8.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
NewPartParameters: 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
ParentPartReturns: Return type: NXOpen.PartNew in version NX8.5.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
ParentPartParameters: 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.