MirrorBodyBuilder Class¶
-
class
NXOpen.Features.
MirrorBodyBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
NXOpen.Features.MirrorBody
builder.Inputs to this class can be convergent objects.
To create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateMirrorBodyBuilder()
Default values.
Property Value Associative True CopyThreads True FixAtCurrentTimestamp True InheritDisplayProperties False MakePositionIndependent False ParentPartType WorkPart ReplacementAssistant.OneToOne True New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
Associative | Returns or sets the associative |
CopyThreads | Returns or sets the copy threads option |
FeatureOption | Returns or sets the feature option type |
FixAtCurrentTimestamp | Returns or sets the fix at current timestamp |
FrecAtTimeStamp | Returns or sets the frec at time stamp |
InheritDisplayProperties | Returns or sets the inherit display properties from source option |
MakePositionIndependent | Returns or sets the make position independent |
MirrorBodyCollector | Returns a collection of bodies to mirror |
MirrorBodyList | Returns the mirror body list. |
ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
ParentPartType | Returns or sets the parent part type |
PatchSolutionFlag | Returns or sets the patch solution flag |
PatchSurfaceFilename | Returns or sets the patch surface filename |
Plane | Returns the mirror plane |
ReplacementAssistant | Returns the Replacement Assistant builder. |
ReverseDirection | Returns or sets the reverse direction |
SourcePartOccurrence | Returns or sets the source part occurrence |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CommitFeature | Commits the feature parameters and creates the feature @return |
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. |
GetFeature | Returns the feature currently being edited by this builder. |
GetObject | Returns the object currently being edited by this builder. |
GetProductInterfaceObjects | Gets selected product interface objects |
GetSourcePartOccurrences | Gets source part occurrences |
GetWaveLinkInformation | Prints wave browser type information about link |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
SetProductInterfaceObjects | Sets selected product interface objects |
SetSourcePartOccurrences | Sets source part occurrences |
ShowInternalParentFeatureForEdit | Unsuppress an internal parent feature (a slave feature) so it can be edited. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
MirrorBodyBuilderFeatureOptionType Enumeration | enum for feature option type |
MirrorBodyBuilderParentPart Enumeration | the parent part types |
Property Detail¶
Associative¶
-
MirrorBodyBuilder.
Associative
¶ Returns or sets the associative
-------------------------------------
Getter Method
Signature
Associative()
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Associative(associative)
Parameters: associative (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
CopyThreads¶
-
MirrorBodyBuilder.
CopyThreads
¶ Returns or sets the copy threads option
-------------------------------------
Getter Method
Signature
CopyThreads()
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CopyThreads(copyThreads)
Parameters: copyThreads (bool) – New in version NX8.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
FeatureOption¶
-
MirrorBodyBuilder.
FeatureOption
¶ Returns or sets the feature option type
-------------------------------------
Getter Method
Signature
FeatureOption()
Returns: Return type: NXOpen.Features.MirrorBodyBuilderFeatureOptionType
New in version NX9.0.3.
License requirements: None.
-------------------------------------
Setter Method
Signature
FeatureOption(featureOptionType)
Parameters: featureOptionType ( NXOpen.Features.MirrorBodyBuilderFeatureOptionType
) –New in version NX9.0.3.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
FixAtCurrentTimestamp¶
-
MirrorBodyBuilder.
FixAtCurrentTimestamp
¶ Returns or sets the fix at current timestamp
-------------------------------------
Getter Method
Signature
FixAtCurrentTimestamp()
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FixAtCurrentTimestamp(atTimeStamp)
Parameters: atTimeStamp (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
FrecAtTimeStamp¶
-
MirrorBodyBuilder.
FrecAtTimeStamp
¶ Returns or sets the frec at time stamp
-------------------------------------
Getter Method
Signature
FrecAtTimeStamp()
Returns: Return type: NXOpen.Features.Feature
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FrecAtTimeStamp(terminalFrec)
Parameters: terminalFrec ( NXOpen.Features.Feature
) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
InheritDisplayProperties¶
-
MirrorBodyBuilder.
InheritDisplayProperties
¶ Returns or sets the inherit display properties from source option
-------------------------------------
Getter Method
Signature
InheritDisplayProperties()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InheritDisplayProperties(inheritDisplayProperties)
Parameters: inheritDisplayProperties (bool) – New in version NX6.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
MakePositionIndependent¶
-
MirrorBodyBuilder.
MakePositionIndependent
¶ Returns or sets the make position independent
-------------------------------------
Getter Method
Signature
MakePositionIndependent()
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MakePositionIndependent(makePositionIndependent)
Parameters: makePositionIndependent (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
MirrorBodyCollector¶
-
MirrorBodyBuilder.
MirrorBodyCollector
¶ Returns a collection of bodies to mirror
-------------------------------------
Getter Method
Signature
MirrorBodyCollector()
Returns: Return type: NXOpen.ScCollector
New in version NX9.0.0.
License requirements: None.
MirrorBodyList¶
-
MirrorBodyBuilder.
MirrorBodyList
¶ Returns the mirror body list.
For KF, only one parent body should be selected for this attribute.
-------------------------------------
Getter Method
Signature
MirrorBodyList()
Returns: Return type: NXOpen.SelectBodyList
New in version NX5.0.0.
Deprecated since version NX9.0.0: Use
NXOpen.Features.MirrorBodyBuilder.MirrorBodyCollector()
instead.License requirements: None.
ParentPartType¶
-
MirrorBodyBuilder.
ParentPartType
¶ Returns or sets the parent part type
-------------------------------------
Getter Method
Signature
ParentPartType()
Returns: Return type: NXOpen.Features.MirrorBodyBuilderParentPart
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ParentPartType(sourceType)
Parameters: sourceType ( NXOpen.Features.MirrorBodyBuilderParentPart
) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
Plane¶
-
MirrorBodyBuilder.
Plane
¶ Returns the mirror plane
-------------------------------------
Getter Method
Signature
Plane()
Returns: Return type: NXOpen.SelectDatumPlane
New in version NX5.0.0.
License requirements: None.
ReplacementAssistant¶
-
MirrorBodyBuilder.
ReplacementAssistant
¶ Returns the Replacement Assistant builder.
Call Enter() to enter or re-enter into the mapping environment. Enter() needs to be executed before invoking any map creation or automatic matching APIs. The matches inferred internally (internal identifier reuse, inherited from parent and siblings) will be populated when Enter() is executed for the first time after selecting a replacement entity. Call Exit() to exit the mapping environment.
-------------------------------------
Getter Method
Signature
ReplacementAssistant()
Returns: Return type: NXOpen.GeometricUtilities.ReplAsstBuilder
New in version NX6.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
ReverseDirection¶
-
MirrorBodyBuilder.
ReverseDirection
¶ Returns or sets the reverse direction
-------------------------------------
Getter Method
Signature
ReverseDirection()
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReverseDirection(reverse)
Parameters: reverse (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
SourcePartOccurrence¶
-
MirrorBodyBuilder.
SourcePartOccurrence
¶ Returns or sets the source part occurrence
-------------------------------------
Getter Method
Signature
SourcePartOccurrence()
Returns: Return type: NXOpen.TaggedObject
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SourcePartOccurrence(sourcePartOcc)
Parameters: sourcePartOcc ( NXOpen.TaggedObject
) –New in version NX9.0.0.
License requirements: None.
Method Detail¶
GetProductInterfaceObjects¶
-
MirrorBodyBuilder.
GetProductInterfaceObjects
¶ Gets selected product interface objects
Signature
GetProductInterfaceObjects()
Returns: items in list Return type: list of NXOpen.Assemblies.ProductInterface.InterfaceObject
New in version NX9.0.0.
License requirements: None.
GetSourcePartOccurrences¶
-
MirrorBodyBuilder.
GetSourcePartOccurrences
¶ Gets source part occurrences
Signature
GetSourcePartOccurrences()
Returns: Return type: list of NXOpen.TaggedObject
New in version NX10.0.0.
License requirements: None.
GetWaveLinkInformation¶
-
MirrorBodyBuilder.
GetWaveLinkInformation
¶ Prints wave browser type information about link
Signature
GetWaveLinkInformation()
Returns: a tuple Return type: A tuple consisting of (info, xformExists, xformOrigin, xformOrientation, xformScale). info is a str. queried wave information xformExists is a bool. true if there is a transform xformOrigin is a NXOpen.Point3d
. transformation origin xformOrientation is aNXOpen.Matrix3x3
. transformation matrix xformScale is a float. transformation scaleNew in version NX6.0.0.
License requirements: wave (“WAVE FUNCTIONALITY”)
SetProductInterfaceObjects¶
-
MirrorBodyBuilder.
SetProductInterfaceObjects
¶ Sets selected product interface objects
Signature
SetProductInterfaceObjects(selectedObjects)
Parameters: selectedObjects (list of NXOpen.Assemblies.ProductInterface.InterfaceObject
) – items in listNew in version NX9.0.0.
License requirements: None.
SetSourcePartOccurrences¶
-
MirrorBodyBuilder.
SetSourcePartOccurrences
¶ Sets source part occurrences
Signature
SetSourcePartOccurrences(sourcePartOccurrences)
Parameters: sourcePartOccurrences (list of NXOpen.TaggedObject
) –New in version NX10.0.0.
License requirements: None.
Validate¶
-
MirrorBodyBuilder.
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.