NX Open C++ Reference Guide
|
Represents the set of visualization preferences under Line tab applicable to part
To obtain an instance of this class, refer to Preferences::PartPreferences
Created in NX3.0.0.
More...
Public Types | |
enum | LineFontDisplayType { LineFontDisplayTypeSoftware, LineFontDisplayTypeHardware } |
Describes whether Line Font Display type is hardware or software. More... | |
Public Member Functions | |
double | CurveTolerance () |
Returns the curve tolerance. | |
double | DashSize () |
Returns the dash size. | |
void | GetWidthOptions (bool *showWidths, double *widthScale) |
Returns the show widths and width scale options. | |
NXOpen::Preferences::PartVisualizationLine::LineFontDisplayType | LineFontDisplay () |
Returns the line font display. | |
void | SetCurveTolerance (double lineCurveTolerance) |
Sets the curve tolerance. | |
void | SetDashSize (double lineDashSize) |
Sets the dash size. | |
void | SetLineFontDisplay (NXOpen::Preferences::PartVisualizationLine::LineFontDisplayType lineFontDisplay) |
Sets the line font display. | |
void | SetShowWidths (bool isShowWidthOn) |
Sets the show widths option. | |
void | SetSpaceSize (double lineSpaceSize) |
Sets the space size. | |
void | SetSymbolSize (double lineSymbolSize) |
Sets the symbol size. | |
void | SetWidthOptions (bool showWidths, double widthScale) |
Modifies the show widths and width scale options. | |
void | SetWidthScale (double widthScale) |
Sets the width scale option. | |
bool | ShowWidths () |
Returns the show widths option. | |
double | SpaceSize () |
Returns the space size. | |
double | SymbolSize () |
Returns the symbol size. | |
tag_t | Tag () const |
Returns the tag of this object. | |
double | WidthScale () |
Returns the width scale option. | |
Represents the set of visualization preferences under Line tab applicable to part
To obtain an instance of this class, refer to Preferences::PartPreferences
Created in NX3.0.0.
double NXOpen::Preferences::PartVisualizationLine::CurveTolerance | ( | ) |
Returns the curve tolerance.
Specifies the level of detail for the current Display Mode.
Created in NX3.0.0.
License requirements : None
double NXOpen::Preferences::PartVisualizationLine::DashSize | ( | ) |
Returns the dash size.
Sets the length of a segment of a dashed curve.
Created in NX3.0.0.
License requirements : None
void NXOpen::Preferences::PartVisualizationLine::GetWidthOptions | ( | bool * | showWidths, |
double * | widthScale | ||
) |
Returns the show widths and width scale options.
Created in NX8.5.0.
License requirements : None
showWidths | the show widths option, which controls whether or not the object width attribute determines the displayed width of lines and curves. |
widthScale | the width scale option, which controls scaling of the width of lines and curves displayed in the graphics window. |
NXOpen::Preferences::PartVisualizationLine::LineFontDisplayType NXOpen::Preferences::PartVisualizationLine::LineFontDisplay | ( | ) |
Returns the line font display.
Controls the line font. The Hardware option uses the system graphics library to generate the seven standard line fonts. Selecting hardware line fonts can improve drawing performance and reduce memory consumption. The Software option generates non-solid curves with the values entered for the Dash, Space, and Symbol size.
Created in NX3.0.0.
License requirements : None
void NXOpen::Preferences::PartVisualizationLine::SetCurveTolerance | ( | double | lineCurveTolerance | ) |
Sets the curve tolerance.
Specifies the level of detail for the current Display Mode.
Created in NX3.0.0.
License requirements : None
lineCurveTolerance | line curve tolerance |
void NXOpen::Preferences::PartVisualizationLine::SetDashSize | ( | double | lineDashSize | ) |
Sets the dash size.
Sets the length of a segment of a dashed curve.
Created in NX3.0.0.
License requirements : None
lineDashSize | line dash size |
void NXOpen::Preferences::PartVisualizationLine::SetLineFontDisplay | ( | NXOpen::Preferences::PartVisualizationLine::LineFontDisplayType | lineFontDisplay | ) |
Sets the line font display.
Controls the line font. The Hardware option uses the system graphics library to generate the seven standard line fonts. Selecting hardware line fonts can improve drawing performance and reduce memory consumption. The Software option generates non-solid curves with the values entered for the Dash, Space, and Symbol size.
Created in NX3.0.0.
License requirements : None
lineFontDisplay | line font display |
void NXOpen::Preferences::PartVisualizationLine::SetShowWidths | ( | bool | isShowWidthOn | ) |
Sets the show widths option.
If true, the object width attribute determines the displayed width of lines or curves used to represent an object.If false, all curves are drawn thin, regardless of object width settings.
Created in NX3.0.0.
License requirements : None
isShowWidthOn | isshowwidthon |
void NXOpen::Preferences::PartVisualizationLine::SetSpaceSize | ( | double | lineSpaceSize | ) |
Sets the space size.
Sets the distance between two segments of a dashed curve.
Created in NX3.0.0.
License requirements : None
lineSpaceSize | line space size |
void NXOpen::Preferences::PartVisualizationLine::SetSymbolSize | ( | double | lineSymbolSize | ) |
Sets the symbol size.
Controls the displayed size of symbols used in software line fonts.
Created in NX3.0.0.
License requirements : None
lineSymbolSize | line symbol size |
void NXOpen::Preferences::PartVisualizationLine::SetWidthOptions | ( | bool | showWidths, |
double | widthScale | ||
) |
Modifies the show widths and width scale options.
Created in NX8.5.0.
License requirements : None
showWidths | the show widths option, which controls whether or not the object width attribute determines the displayed width of lines and curves. |
widthScale | the width scale option, which controls scaling of the width of lines and curves displayed in the graphics window. |
void NXOpen::Preferences::PartVisualizationLine::SetWidthScale | ( | double | widthScale | ) |
Sets the width scale option.
Controls scaling of the width of lines and curves displayed in the graphics window. If set to 0.0 (the minimum value), widths range from 1 to 3 pixels. If set to 1.0 (the maximum value), widths range from 1 to the maximum supported pixel width.
Created in NX8.5.0.
License requirements : None
widthScale | width scale |
bool NXOpen::Preferences::PartVisualizationLine::ShowWidths | ( | ) |
Returns the show widths option.
If true, the object width attribute determines the displayed width of lines or curves used to represent an object.If false, all curves are drawn thin, regardless of object width settings.
Created in NX3.0.0.
License requirements : None
double NXOpen::Preferences::PartVisualizationLine::SpaceSize | ( | ) |
Returns the space size.
Sets the distance between two segments of a dashed curve.
Created in NX3.0.0.
License requirements : None
double NXOpen::Preferences::PartVisualizationLine::SymbolSize | ( | ) |
Returns the symbol size.
Controls the displayed size of symbols used in software line fonts.
Created in NX3.0.0.
License requirements : None
tag_t NXOpen::Preferences::PartVisualizationLine::Tag | ( | ) | const |
Returns the tag of this object.
double NXOpen::Preferences::PartVisualizationLine::WidthScale | ( | ) |
Returns the width scale option.
Controls scaling of the width of lines and curves displayed in the graphics window. If set to 0.0 (the minimum value), widths range from 1 to 3 pixels. If set to 1.0 (the maximum value), widths range from 1 to the maximum supported pixel width.
Created in NX8.5.0.
License requirements : None