public interface PartVisualizationLine extends Remote
PartPreferences
Modifier and Type | Interface and Description |
---|---|
static class |
PartVisualizationLine.LineFontDisplayType
Describes whether Line Font Display type is hardware or software.
|
static class |
PartVisualizationLine.PixelWidthOptionsData
This class holds the data returned from
getPixelWidthOptions() |
static class |
PartVisualizationLine.WidthOptionsData
This class holds the data returned from
getWidthOptions() |
Modifier and Type | Method and Description |
---|---|
double |
curveTolerance()
Returns the curve tolerance.
|
double |
dashSize()
Returns the dash size.
|
PartVisualizationLine.PixelWidthOptionsData |
getPixelWidthOptions()
Returns pixel widths used in the graphics window.
|
int[] |
getPixelWidths()
Returns options that control width appearance in the graphics window.
|
PartVisualizationLine.WidthOptionsData |
getWidthOptions()
Returns the show widths and width scale options.
|
PartVisualizationLine.LineFontDisplayType |
lineFontDisplay()
Returns the line font display.
|
void |
regenerateFromToleranceChange(boolean updateModeChanged,
boolean studio)
Regenerates after changing tolerance.
|
void |
resetPixelWidthOptions()
Resets all pixel width options to settings specified by customer
defaults.
|
void |
setCurveTolerance(double lineCurveTolerance)
Sets the curve tolerance.
|
void |
setDashSize(double lineDashSize)
Sets the dash size.
|
void |
setLineFontDisplay(PartVisualizationLine.LineFontDisplayType lineFontDisplay)
Sets the line font display.
|
void |
setPixelWidthOptions(boolean useWidthScale,
double widthScale,
int[] pixelWidths)
Modifies options that control width appearance in the graphics window.
|
void |
setPixelWidths(int[] pixelWidths)
Modifies pixel widths used in the graphics window.
|
void |
setShowWidths(boolean isShowWidthOn)
Sets the show widths option.
|
void |
setSpaceSize(double lineSpaceSize)
Sets the space size.
|
void |
setSymbolSize(double lineSymbolSize)
Sets the symbol size.
|
void |
setWidthOptions(boolean showWidths,
double widthScale)
Modifies the show widths and width scale options.
|
void |
setWidthScale(double widthScale)
Sets the width scale option.
|
boolean |
showWidths()
Returns the show widths option.
|
double |
spaceSize()
Returns the space size.
|
double |
symbolSize()
Returns the symbol size.
|
void |
updateLineFontObjects(boolean softwareUpdate)
Regenerates after changing line-font settings.
|
double |
widthScale()
Returns the width scale option.
|
PartVisualizationLine.LineFontDisplayType lineFontDisplay() throws NXException, RemoteException
NXException
RemoteException
void setLineFontDisplay(PartVisualizationLine.LineFontDisplayType lineFontDisplay) throws NXException, RemoteException
lineFontDisplay
- NXException
RemoteException
double dashSize() throws NXException, RemoteException
NXException
RemoteException
void setDashSize(double lineDashSize) throws NXException, RemoteException
lineDashSize
- NXException
RemoteException
double spaceSize() throws NXException, RemoteException
NXException
RemoteException
void setSpaceSize(double lineSpaceSize) throws NXException, RemoteException
lineSpaceSize
- NXException
RemoteException
double symbolSize() throws NXException, RemoteException
NXException
RemoteException
void setSymbolSize(double lineSymbolSize) throws NXException, RemoteException
lineSymbolSize
- NXException
RemoteException
double curveTolerance() throws NXException, RemoteException
NXException
RemoteException
void setCurveTolerance(double lineCurveTolerance) throws NXException, RemoteException
lineCurveTolerance
- NXException
RemoteException
boolean showWidths() throws NXException, RemoteException
NXException
RemoteException
void setShowWidths(boolean isShowWidthOn) throws NXException, RemoteException
isShowWidthOn
- NXException
RemoteException
double widthScale() throws NXException, RemoteException
NXException
RemoteException
void setWidthScale(double widthScale) throws NXException, RemoteException
widthScale
- NXException
RemoteException
PartVisualizationLine.WidthOptionsData getWidthOptions() throws NXException, RemoteException
NXException
RemoteException
void setWidthOptions(boolean showWidths, double widthScale) throws NXException, RemoteException
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.NXException
RemoteException
int[] getPixelWidths() throws NXException, RemoteException
NXException
RemoteException
void setPixelWidths(int[] pixelWidths) throws NXException, RemoteException
pixelWidths
- Array of 9 pixel widths, one for each of the 9 width settings,
that defines the appearance of widths in the graphics window.
Valid pixel widths range from 1 to 9.NXException
RemoteException
PartVisualizationLine.PixelWidthOptionsData getPixelWidthOptions() throws NXException, RemoteException
NXException
RemoteException
void setPixelWidthOptions(boolean useWidthScale, double widthScale, int[] pixelWidths) throws NXException, RemoteException
useWidthScale
- If true, width appearance in the graphics window is controlled
by width scale. If false, width appearance is controlled by
pixel widths.widthScale
- the width scale option, which controls scaling of widths in the
graphics window when useWidthScale is true. 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 9 pixels.pixelWidths
- Array of 9 pixel widths, one for each of the 9 width settings,
that defines the appearance of widths in the graphics window
when useWidthScale is false. Valid pixel widths range from
1 to 9.NXException
RemoteException
void resetPixelWidthOptions() throws NXException, RemoteException
NXException
RemoteException
void regenerateFromToleranceChange(boolean updateModeChanged, boolean studio) throws NXException, RemoteException
updateModeChanged
- True if update mode changedstudio
- studio or non-studioNXException
RemoteException
void updateLineFontObjects(boolean softwareUpdate) throws NXException, RemoteException
softwareUpdate
- True when changing from software fonts
to hardware fonts, or when changing
dash patternsNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.