SessionMeasureRequirements Class

class NXOpen.Preferences.SessionMeasureRequirements

Bases: object

Represents the two options available on the Measure Requirements toolbar and applicable to the entire session

To obtain an instance of this class, refer to NXOpen.Preferences.SessionPreferences

New in version NX5.0.0.

Properties

Property Description
UpdateFrameRate Returns or sets the frame rate.
ViolationAction Returns or sets the violation action.

Methods

Enumerations

SessionMeasureRequirementsActionOnViolation Enumeration Values for the action to take when a requirement error is generated for a measure with a displayed annotation in Assembly Sequencing.

Property Detail

UpdateFrameRate

SessionMeasureRequirements.UpdateFrameRate

Returns or sets the frame rate.

The frame rate specifies how frequently a displayed measure annotation is updated in Assembly Sequencing. So a rate of 1 specifies that the annotation will update every frame during playback. A rate of 5 specifies that the annotation will update every fifth frame during playback.

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

Getter Method

Signature UpdateFrameRate

Returns:an integer > 0
Return type:int

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature UpdateFrameRate

Parameters:frameRate (int) – an integer > 0

New in version NX5.0.0.

License requirements: None.

ViolationAction

SessionMeasureRequirements.ViolationAction

Returns or sets the violation action.

The violation action is one of the enumerated type values.

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

Getter Method

Signature ViolationAction

Returns:
Return type:NXOpen.Preferences.SessionMeasureRequirementsActionOnViolation

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature ViolationAction

Parameters:violationAction (NXOpen.Preferences.SessionMeasureRequirementsActionOnViolation) –

New in version NX5.0.0.

License requirements: None.