SessionMeasureRequirements Class¶
-
class
NXOpen.Preferences.SessionMeasureRequirements¶ Bases:
objectRepresents 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.SessionPreferencesNew 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
UpdateFrameRateReturns: an integer > 0 Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UpdateFrameRateParameters: 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
ViolationActionReturns: Return type: NXOpen.Preferences.SessionMeasureRequirementsActionOnViolationNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ViolationActionParameters: violationAction ( NXOpen.Preferences.SessionMeasureRequirementsActionOnViolation) –New in version NX5.0.0.
License requirements: None.