NX Open C++ Reference Guide
|
Represents set of Ship Drafting Lines View Style applicable to drafting views. More...
Public Member Functions | |
NXOpen::NXColor * | GetColor (const NXString &featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType) |
Gets line color. More... | |
NXOpen::NXColor * | GetColor (const char *featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType) |
Gets line color. More... | |
NXOpen::Preferences::Font | GetFont (const NXString &featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType) |
Gets line font. More... | |
NXOpen::Preferences::Font | GetFont (const char *featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType) |
Gets line font. More... | |
bool | GetShipDrawingObject (const NXString &featureName) |
Get ship drawing object status. More... | |
bool | GetShipDrawingObject (const char *featureName) |
Get ship drawing object status. More... | |
NXOpen::Preferences::Width | GetWidth (const NXString &featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType) |
Gets line width. More... | |
NXOpen::Preferences::Width | GetWidth (const char *featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType) |
Gets line width. More... | |
void | SetColor (const NXString &featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType, NXOpen::NXColor *color) |
The color of ship line. More... | |
void | SetColor (const char *featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType, NXOpen::NXColor *color) |
The color of ship line. More... | |
void | SetFont (const NXString &featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType, NXOpen::Preferences::Font font) |
The font type of ship line. More... | |
void | SetFont (const char *featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType, NXOpen::Preferences::Font font) |
The font type of ship line. More... | |
void | SetShipDrawingObject (const NXString &featureName, bool singleLine) |
Note: The initial values are set based on the file NX_ShipAttribute.xml The status determines the line settings for the ship feature in a view. More... | |
void | SetShipDrawingObject (const char *featureName, bool singleLine) |
Note: The initial values are set based on the file NX_ShipAttribute.xml The status determines the line settings for the ship feature in a view. More... | |
void | SetWidth (const NXString &featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType, NXOpen::Preferences::Width width) |
The width of ship line. More... | |
void | SetWidth (const char *featureName, NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines linesType, NXOpen::Preferences::Width width) |
The width of ship line. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents set of Ship Drafting Lines View Style applicable to drafting views.
Ship Drafting View lines are used for the features in Ship Design
To obtain an instance of this class use Drawings::ViewStyle::ShipDraftingViewLines
Created in NX10.0.0.
Line type.
NXOpen::NXColor* NXOpen::Drawings::ShipDraftingViewLinesViewStyle::GetColor | ( | const NXString & | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType | ||
) |
Gets line color.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
NXOpen::NXColor* NXOpen::Drawings::ShipDraftingViewLinesViewStyle::GetColor | ( | const char * | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType | ||
) |
Gets line color.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
NXOpen::Preferences::Font NXOpen::Drawings::ShipDraftingViewLinesViewStyle::GetFont | ( | const NXString & | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType | ||
) |
Gets line font.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
NXOpen::Preferences::Font NXOpen::Drawings::ShipDraftingViewLinesViewStyle::GetFont | ( | const char * | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType | ||
) |
Gets line font.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
bool NXOpen::Drawings::ShipDraftingViewLinesViewStyle::GetShipDrawingObject | ( | const NXString & | featureName | ) |
Get ship drawing object status.
featureName | feature name e.g. decks, bulkheads etc. |
bool NXOpen::Drawings::ShipDraftingViewLinesViewStyle::GetShipDrawingObject | ( | const char * | featureName | ) |
Get ship drawing object status.
featureName | feature name e.g. decks, bulkheads etc. |
NXOpen::Preferences::Width NXOpen::Drawings::ShipDraftingViewLinesViewStyle::GetWidth | ( | const NXString & | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType | ||
) |
Gets line width.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
NXOpen::Preferences::Width NXOpen::Drawings::ShipDraftingViewLinesViewStyle::GetWidth | ( | const char * | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType | ||
) |
Gets line width.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
void NXOpen::Drawings::ShipDraftingViewLinesViewStyle::SetColor | ( | const NXString & | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType, | ||
NXOpen::NXColor * | color | ||
) |
The color of ship line.
The value should be between UF_OBJ_MIN_COLOR and UF_OBJ_MAX_COLOR.
Created in NX10.0.0.
License requirements : nx_ship_drafting ("Ship Drafting")
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
color | Color |
void NXOpen::Drawings::ShipDraftingViewLinesViewStyle::SetColor | ( | const char * | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType, | ||
NXOpen::NXColor * | color | ||
) |
The color of ship line.
The value should be between UF_OBJ_MIN_COLOR and UF_OBJ_MAX_COLOR.
Created in NX10.0.0.
License requirements : nx_ship_drafting ("Ship Drafting")
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
color | Color |
void NXOpen::Drawings::ShipDraftingViewLinesViewStyle::SetFont | ( | const NXString & | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType, | ||
NXOpen::Preferences::Font | font | ||
) |
The font type of ship line.
Created in NX10.0.0.
License requirements : nx_ship_drafting ("Ship Drafting")
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
font | Font |
void NXOpen::Drawings::ShipDraftingViewLinesViewStyle::SetFont | ( | const char * | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType, | ||
NXOpen::Preferences::Font | font | ||
) |
The font type of ship line.
Created in NX10.0.0.
License requirements : nx_ship_drafting ("Ship Drafting")
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
font | Font |
void NXOpen::Drawings::ShipDraftingViewLinesViewStyle::SetShipDrawingObject | ( | const NXString & | featureName, |
bool | singleLine | ||
) |
Note: The initial values are set based on the file NX_ShipAttribute.xml The status determines the line settings for the ship feature in a view.
Created in NX10.0.0.
License requirements : nx_ship_drafting ("Ship Drafting")
featureName | feature name e.g. decks, bulkheads etc. |
singleLine | status that determines SLR for the feature |
void NXOpen::Drawings::ShipDraftingViewLinesViewStyle::SetShipDrawingObject | ( | const char * | featureName, |
bool | singleLine | ||
) |
Note: The initial values are set based on the file NX_ShipAttribute.xml The status determines the line settings for the ship feature in a view.
Created in NX10.0.0.
License requirements : nx_ship_drafting ("Ship Drafting")
featureName | feature name e.g. decks, bulkheads etc. |
singleLine | status that determines SLR for the feature |
void NXOpen::Drawings::ShipDraftingViewLinesViewStyle::SetWidth | ( | const NXString & | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType, | ||
NXOpen::Preferences::Width | width | ||
) |
The width of ship line.
Created in NX10.0.0.
License requirements : nx_ship_drafting ("Ship Drafting")
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
width | Width |
void NXOpen::Drawings::ShipDraftingViewLinesViewStyle::SetWidth | ( | const char * | featureName, |
NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Lines | linesType, | ||
NXOpen::Preferences::Width | width | ||
) |
The width of ship line.
Created in NX10.0.0.
License requirements : nx_ship_drafting ("Ship Drafting")
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
width | Width |
tag_t NXOpen::Drawings::ShipDraftingViewLinesViewStyle::Tag | ( | ) | const |
Returns the tag of this object.