public interface ShipDesignPreferencesBuilder
ShipDesignPreferencesBuilder
which
is used to change default object display settings for ship structures.
ShipCollection.createShipDesignPreferencesBuilder()
Property | Value |
---|---|
AnalysisSpacing | 100 |
AngleRule | RightHand |
ColorOption | Default |
Layer | 0 |
SurfaceAngleFailureLimit | 20 |
SurfaceAngleWarningLimit | 10 |
TwistRateFailureLimit | 3 |
TwistRateWarningLimit | 1 |
Modifier and Type | Interface and Description |
---|---|
static class |
ShipDesignPreferencesBuilder.AngleRuleTypes
The methods that can be used to measure angles in ship design.
|
static class |
ShipDesignPreferencesBuilder.ColorType
the color option type
|
static class |
ShipDesignPreferencesBuilder.Types
This enum represents the ship structure types.
|
Modifier and Type | Method and Description |
---|---|
double |
analysisSpacing()
Returns the distance between points on the path used to check twist rate or surface angle.
|
ShipDesignPreferencesBuilder.AngleRuleTypes |
angleRule()
Returns the indication of how angles are to be measured.
|
NXColor |
color()
Returns the default color to use for the current ship structure type, only used if the ColorOption is
ShipDesignPreferencesBuilder.ColorType.SET . |
ShipDesignPreferencesBuilder.ColorType |
colorOption()
Returns the color option of the current ship structure type.
|
PartObject.LineFontType |
font()
Returns the default font to use for the current ship structure type.
|
int |
layer()
Returns the default layer to use for the current ship structure type.
|
void |
setAnalysisSpacing(double analysisSpacing)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setAngleRule(ShipDesignPreferencesBuilder.AngleRuleTypes angleRule)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setColor(NXColor color)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setColorOption(ShipDesignPreferencesBuilder.ColorType colorOption)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setFont(PartObject.LineFontType font)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setLayer(int layer)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setShipStructureType(ShipDesignPreferencesBuilder.Types type)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setSurfaceAngleAcceptableColor(NXColor surfaceAngleAcceptableColor)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setSurfaceAngleFailureColor(NXColor surfaceAngleFailureColor)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setSurfaceAngleFailureLimit(double surfaceAngleFailureLimit)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setSurfaceAngleWarningColor(NXColor surfaceAngleWarningColor)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setSurfaceAngleWarningLimit(double surfaceAngleWarningLimit)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setTwistRateAcceptableColor(NXColor twistRateAcceptableColor)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setTwistRateFailureColor(NXColor twistRateFailureColor)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setTwistRateFailureLimit(double twistRateFailureLimit)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setTwistRateWarningColor(NXColor twistRateWarningColor)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setTwistRateWarningLimit(double twistRateWarningLimit)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
void |
setType(ShipDesignPreferencesBuilder.Types type)
Deprecated.
Deprecated in NX9.0.0. Set the active ship structure using
setShipStructureType(nxopen.features.shipdesign.ShipDesignPreferencesBuilder.Types) .
|
void |
setWidth(PartObject.WidthType width)
License requirements: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") . |
ShipDesignPreferencesBuilder.Types |
shipStructureType()
Returns the ship structure type.
|
NXColor |
surfaceAngleAcceptableColor()
Returns the surface angle acceptable color.
|
NXColor |
surfaceAngleFailureColor()
Returns the surface angle failure color.
|
double |
surfaceAngleFailureLimit()
Returns the surface angle failure limit.
|
NXColor |
surfaceAngleWarningColor()
Returns the surface angle warning color.
|
double |
surfaceAngleWarningLimit()
Returns the surface angle warning limit.
|
NXColor |
twistRateAcceptableColor()
Returns the twist rate acceptable color.
|
NXColor |
twistRateFailureColor()
Returns the twist rate failure color.
|
double |
twistRateFailureLimit()
Returns the twist rate failure limit.
|
NXColor |
twistRateWarningColor()
Returns the twist rate warning color.
|
double |
twistRateWarningLimit()
Returns the twist rate warning limit.
|
ShipDesignPreferencesBuilder.Types |
type()
Deprecated.
Deprecated in NX9.0.0. Get the active ship structure using
shipStructureType() .
|
PartObject.WidthType |
width()
Returns the default width to use for the current ship structure type.
|
ShipDesignPreferencesBuilder.ColorType colorOption() throws NXException, RemoteException
NXException
RemoteException
void setColorOption(ShipDesignPreferencesBuilder.ColorType colorOption) throws NXException, RemoteException
colorOption
- NXException
RemoteException
NXColor color() throws NXException, RemoteException
ShipDesignPreferencesBuilder.ColorType.SET
.
NXException
RemoteException
void setColor(NXColor color) throws NXException, RemoteException
color
- NXException
RemoteException
PartObject.LineFontType font() throws NXException, RemoteException
NXException
RemoteException
void setFont(PartObject.LineFontType font) throws NXException, RemoteException
font
- NXException
RemoteException
PartObject.WidthType width() throws NXException, RemoteException
NXException
RemoteException
void setWidth(PartObject.WidthType width) throws NXException, RemoteException
width
- NXException
RemoteException
int layer() throws NXException, RemoteException
NXException
RemoteException
void setLayer(int layer) throws NXException, RemoteException
layer
- NXException
RemoteException
ShipDesignPreferencesBuilder.Types type() throws NXException, RemoteException
shipStructureType()
.
NXException
RemoteException
void setType(ShipDesignPreferencesBuilder.Types type) throws NXException, RemoteException
setShipStructureType(nxopen.features.shipdesign.ShipDesignPreferencesBuilder.Types)
.
type
- NXException
RemoteException
ShipDesignPreferencesBuilder.Types shipStructureType() throws NXException, RemoteException
setColorOption(nxopen.features.shipdesign.ShipDesignPreferencesBuilder.ColorType)
,
colorOption()
,
setColor(nxopen.NXColor)
,
color()
,
setFont(nxopen.preferences.PartObject.LineFontType)
,
font()
,
setWidth(nxopen.preferences.PartObject.WidthType)
,
width()
,
setLayer(int)
or
layer()
will affect the settings for this ship structure type.
NXException
RemoteException
void setShipStructureType(ShipDesignPreferencesBuilder.Types type) throws NXException, RemoteException
type
- NXException
RemoteException
ShipDesignPreferencesBuilder.AngleRuleTypes angleRule() throws NXException, RemoteException
NXException
RemoteException
void setAngleRule(ShipDesignPreferencesBuilder.AngleRuleTypes angleRule) throws NXException, RemoteException
angleRule
- NXException
RemoteException
double analysisSpacing() throws NXException, RemoteException
NXException
RemoteException
void setAnalysisSpacing(double analysisSpacing) throws NXException, RemoteException
analysisSpacing
- NXException
RemoteException
NXColor surfaceAngleAcceptableColor() throws NXException, RemoteException
NXException
RemoteException
void setSurfaceAngleAcceptableColor(NXColor surfaceAngleAcceptableColor) throws NXException, RemoteException
surfaceAngleAcceptableColor
- NXException
RemoteException
NXColor surfaceAngleWarningColor() throws NXException, RemoteException
NXException
RemoteException
void setSurfaceAngleWarningColor(NXColor surfaceAngleWarningColor) throws NXException, RemoteException
surfaceAngleWarningColor
- NXException
RemoteException
double surfaceAngleWarningLimit() throws NXException, RemoteException
NXException
RemoteException
void setSurfaceAngleWarningLimit(double surfaceAngleWarningLimit) throws NXException, RemoteException
surfaceAngleWarningLimit
- NXException
RemoteException
NXColor surfaceAngleFailureColor() throws NXException, RemoteException
NXException
RemoteException
void setSurfaceAngleFailureColor(NXColor surfaceAngleFailureColor) throws NXException, RemoteException
surfaceAngleFailureColor
- NXException
RemoteException
double surfaceAngleFailureLimit() throws NXException, RemoteException
NXException
RemoteException
void setSurfaceAngleFailureLimit(double surfaceAngleFailureLimit) throws NXException, RemoteException
surfaceAngleFailureLimit
- NXException
RemoteException
NXColor twistRateAcceptableColor() throws NXException, RemoteException
NXException
RemoteException
void setTwistRateAcceptableColor(NXColor twistRateAcceptableColor) throws NXException, RemoteException
twistRateAcceptableColor
- NXException
RemoteException
NXColor twistRateWarningColor() throws NXException, RemoteException
NXException
RemoteException
void setTwistRateWarningColor(NXColor twistRateWarningColor) throws NXException, RemoteException
twistRateWarningColor
- NXException
RemoteException
double twistRateWarningLimit() throws NXException, RemoteException
NXException
RemoteException
void setTwistRateWarningLimit(double twistRateWarningLimit) throws NXException, RemoteException
twistRateWarningLimit
- NXException
RemoteException
NXColor twistRateFailureColor() throws NXException, RemoteException
NXException
RemoteException
void setTwistRateFailureColor(NXColor twistRateFailureColor) throws NXException, RemoteException
twistRateFailureColor
- NXException
RemoteException
double twistRateFailureLimit() throws NXException, RemoteException
NXException
RemoteException
void setTwistRateFailureLimit(double twistRateFailureLimit) throws NXException, RemoteException
twistRateFailureLimit
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.