NX Open C++ Reference Guide
|
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 Preferences::SessionPreferences
Created in NX5.0.0.
More...
Public Types | |
enum | ActionOnViolation { ActionOnViolationHightlightMeasure, ActionOnViolationStopPlayback } |
Values for the action to take when a requirement error is generated for a measure with a displayed annotation in Assembly Sequencing. More... | |
Public Member Functions | |
void | SetUpdateFrameRate (int frameRate) |
Sets the frame rate. | |
void | SetViolationAction (NXOpen::Preferences::SessionMeasureRequirements::ActionOnViolation violationAction) |
Sets the violation action. | |
tag_t | Tag () const |
Returns the tag of this object. | |
int | UpdateFrameRate () |
Returns the frame rate. | |
NXOpen::Preferences::SessionMeasureRequirements::ActionOnViolation | ViolationAction () |
Returns the violation action. | |
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 Preferences::SessionPreferences
Created in NX5.0.0.
Values for the action to take when a requirement error is generated for a measure with a displayed annotation in Assembly Sequencing.
void NXOpen::Preferences::SessionMeasureRequirements::SetUpdateFrameRate | ( | int | frameRate | ) |
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.
Created in NX5.0.0.
License requirements : None
frameRate | an integer > 0 |
void NXOpen::Preferences::SessionMeasureRequirements::SetViolationAction | ( | NXOpen::Preferences::SessionMeasureRequirements::ActionOnViolation | violationAction | ) |
Sets the violation action.
The violation action is one of the enumerated type values.
Created in NX5.0.0.
License requirements : None
violationAction | violation action |
tag_t NXOpen::Preferences::SessionMeasureRequirements::Tag | ( | ) | const |
Returns the tag of this object.
int NXOpen::Preferences::SessionMeasureRequirements::UpdateFrameRate | ( | ) |
Returns 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.
Created in NX5.0.0.
License requirements : None
NXOpen::Preferences::SessionMeasureRequirements::ActionOnViolation NXOpen::Preferences::SessionMeasureRequirements::ViolationAction | ( | ) |
Returns the violation action.
The violation action is one of the enumerated type values.
Created in NX5.0.0.
License requirements : None