ShowRelatedFacesBuilder Class

class NXOpen.Features.ShowRelatedFacesBuilder

Bases: NXOpen.Builder

Represents a builder for a Show Related Faces.

To create a new instance of this class, use NXOpen.Features.FeatureCollection.CreateShowRelatedFacesBuilder()

New in version NX7.0.0.

Properties

Property Description
OffsetRelations Returns or sets the value indicating whether to keep offset relations or not
RelatedFace Returns the related face
Tag Returns the Tag for this object.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
DeleteAllConstraints Deletes all the persistent constraints on the related face
DeleteAllOffsetRelationOnBody Deletes all the offset relations on the body which the face belongs to
DeleteConstraint Deletes the persistent constraint
DeleteOffsetRelation Deletes the offset relation
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.
LockConstraint Locks the persistent constraint
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UnlockAllConstraints Unlocks all the persistent constraints on the related face
UnlockConstraint Unlocks the persistent constraint
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

OffsetRelations

ShowRelatedFacesBuilder.OffsetRelations

Returns or sets the value indicating whether to keep offset relations or not

-------------------------------------

Getter Method

Signature OffsetRelations

Returns:Flag indicating whether to include the offset relation
Return type:bool

New in version NX7.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature OffsetRelations

Parameters:keepOffsetRelations (bool) – Flag indicating whether to include the offset relation

New in version NX7.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

RelatedFace

ShowRelatedFacesBuilder.RelatedFace

Returns the related face

-------------------------------------

Getter Method

Signature RelatedFace

Returns:Related face
Return type:NXOpen.SelectFace

New in version NX7.0.0.

License requirements: None.

Method Detail

DeleteAllConstraints

ShowRelatedFacesBuilder.DeleteAllConstraints

Deletes all the persistent constraints on the related face

Signature DeleteAllConstraints()

New in version NX7.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

DeleteAllOffsetRelationOnBody

ShowRelatedFacesBuilder.DeleteAllOffsetRelationOnBody

Deletes all the offset relations on the body which the face belongs to

Signature DeleteAllOffsetRelationOnBody()

New in version NX7.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”)

DeleteConstraint

ShowRelatedFacesBuilder.DeleteConstraint

Deletes the persistent constraint

Signature DeleteConstraint(feature)

Parameters:feature (NXOpen.Features.Feature) – the persistent constraint feature

New in version NX7.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

DeleteOffsetRelation

ShowRelatedFacesBuilder.DeleteOffsetRelation

Deletes the offset relation

Signature DeleteOffsetRelation(offsetFaces)

Parameters:offsetFaces (list of NXOpen.NXObject) –

New in version NX7.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

LockConstraint

ShowRelatedFacesBuilder.LockConstraint

Locks the persistent constraint

Signature LockConstraint(feature)

Parameters:feature (NXOpen.Features.Feature) – the persistent constraint feature

New in version NX7.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

UnlockAllConstraints

ShowRelatedFacesBuilder.UnlockAllConstraints

Unlocks all the persistent constraints on the related face

Signature UnlockAllConstraints()

New in version NX7.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

UnlockConstraint

ShowRelatedFacesBuilder.UnlockConstraint

Unlocks the persistent constraint

Signature UnlockConstraint(feature)

Parameters:feature (NXOpen.Features.Feature) – the persistent constraint feature

New in version NX7.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

Validate

ShowRelatedFacesBuilder.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.