|
NX Open C++ Reference Guide
|
Represents set of Shipbuilding Lines View Style applicable to drafting views. More...
Public Types | |
| enum | Lines { LinesHidden, LinesVisible } |
| Line type. More... | |
| enum | ShipbuildingLines { ShipbuildingLinesProfile, ShipbuildingLinesPlate } |
| Geometry type. More... | |
Public Member Functions | |
| int | GetColor (const NXString &featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType) |
| Get line color. | |
| int | GetColor (const char *featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType) |
| Get line color. | |
| NXOpen::Preferences::Font | GetFont (const NXString &featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType) |
| Get line font. | |
| NXOpen::Preferences::Font | GetFont (const char *featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType) |
| Get line font. | |
| bool | GetSingleLineRepresentation (NXOpen::Drawings::ShipbuildingLinesViewStyle::ShipbuildingLines featureType, const NXString &featureName) |
| Get single line status. | |
| bool | GetSingleLineRepresentation (NXOpen::Drawings::ShipbuildingLinesViewStyle::ShipbuildingLines featureType, const char *featureName) |
| Get single line status. | |
| NXOpen::Preferences::Width | GetWidth (const NXString &featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType) |
| Get line width. | |
| NXOpen::Preferences::Width | GetWidth (const char *featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType) |
| Get line width. | |
| void | SetColor (const NXString &featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType, int color) |
| The color of ship line. | |
| void | SetColor (const char *featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType, int color) |
| The color of ship line. | |
| void | SetFont (const NXString &featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType, NXOpen::Preferences::Font font) |
| The font type of ship line. | |
| void | SetFont (const char *featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType, NXOpen::Preferences::Font font) |
| The font type of ship line. | |
| void | SetSingleLineRepresentation (NXOpen::Drawings::ShipbuildingLinesViewStyle::ShipbuildingLines featureType, const NXString &featureName, bool singleLine) |
| Note: The initial values are set based on the customer defaults depending on whether the feature is a Profile or a Plate. | |
| void | SetSingleLineRepresentation (NXOpen::Drawings::ShipbuildingLinesViewStyle::ShipbuildingLines featureType, const char *featureName, bool singleLine) |
| Note: The initial values are set based on the customer defaults depending on whether the feature is a Profile or a Plate. | |
| void | SetWidth (const NXString &featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType, NXOpen::Preferences::Width width) |
| The width of hidden line or edges. | |
| void | SetWidth (const char *featureName, NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines linesType, NXOpen::Preferences::Width width) |
| The width of hidden line or edges. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents set of Shipbuilding Lines View Style applicable to drafting views.
Shipbuilding lines are used for a Profile or a Plate feature in Ship Design <br> To obtain an instance of this class use @link Drawings::ViewStyle::ShipbuildingLines Drawings::ViewStyle::ShipbuildingLines@endlink <br>
Created in NX8.0.0.
Line type.
| int NXOpen::Drawings::ShipbuildingLinesViewStyle::GetColor | ( | const NXString & | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType | ||
| ) |
Get line color.
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| int NXOpen::Drawings::ShipbuildingLinesViewStyle::GetColor | ( | const char * | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType | ||
| ) |
Get line color.
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| NXOpen::Preferences::Font NXOpen::Drawings::ShipbuildingLinesViewStyle::GetFont | ( | const NXString & | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType | ||
| ) |
Get line font.
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| NXOpen::Preferences::Font NXOpen::Drawings::ShipbuildingLinesViewStyle::GetFont | ( | const char * | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType | ||
| ) |
Get line font.
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| bool NXOpen::Drawings::ShipbuildingLinesViewStyle::GetSingleLineRepresentation | ( | NXOpen::Drawings::ShipbuildingLinesViewStyle::ShipbuildingLines | featureType, |
| const NXString & | featureName | ||
| ) |
Get single line status.
| featureType | feature type |
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| bool NXOpen::Drawings::ShipbuildingLinesViewStyle::GetSingleLineRepresentation | ( | NXOpen::Drawings::ShipbuildingLinesViewStyle::ShipbuildingLines | featureType, |
| const char * | featureName | ||
| ) |
Get single line status.
| featureType | feature type |
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| NXOpen::Preferences::Width NXOpen::Drawings::ShipbuildingLinesViewStyle::GetWidth | ( | const NXString & | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType | ||
| ) |
Get line width.
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| NXOpen::Preferences::Width NXOpen::Drawings::ShipbuildingLinesViewStyle::GetWidth | ( | const char * | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType | ||
| ) |
Get line width.
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| void NXOpen::Drawings::ShipbuildingLinesViewStyle::SetColor | ( | const NXString & | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType, | ||
| int | color | ||
| ) |
The color of ship line.
The value should be between UF_OBJ_MIN_COLOR and UF_OBJ_MAX_COLOR.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| color | Color |
| void NXOpen::Drawings::ShipbuildingLinesViewStyle::SetColor | ( | const char * | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType, | ||
| int | color | ||
| ) |
The color of ship line.
The value should be between UF_OBJ_MIN_COLOR and UF_OBJ_MAX_COLOR.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| color | Color |
| void NXOpen::Drawings::ShipbuildingLinesViewStyle::SetFont | ( | const NXString & | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType, | ||
| NXOpen::Preferences::Font | font | ||
| ) |
The font type of ship line.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| font | Font |
| void NXOpen::Drawings::ShipbuildingLinesViewStyle::SetFont | ( | const char * | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType, | ||
| NXOpen::Preferences::Font | font | ||
| ) |
The font type of ship line.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| font | Font |
| void NXOpen::Drawings::ShipbuildingLinesViewStyle::SetSingleLineRepresentation | ( | NXOpen::Drawings::ShipbuildingLinesViewStyle::ShipbuildingLines | featureType, |
| const NXString & | featureName, | ||
| bool | singleLine | ||
| ) |
Note: The initial values are set based on the customer defaults depending on whether the feature is a Profile or a Plate.
The status determines the single line representation for the ship feature in a view.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
| featureType | feature type |
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| singleLine | status that determines SLR for the feature |
| void NXOpen::Drawings::ShipbuildingLinesViewStyle::SetSingleLineRepresentation | ( | NXOpen::Drawings::ShipbuildingLinesViewStyle::ShipbuildingLines | featureType, |
| const char * | featureName, | ||
| bool | singleLine | ||
| ) |
Note: The initial values are set based on the customer defaults depending on whether the feature is a Profile or a Plate.
The status determines the single line representation for the ship feature in a view.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
| featureType | feature type |
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| singleLine | status that determines SLR for the feature |
| void NXOpen::Drawings::ShipbuildingLinesViewStyle::SetWidth | ( | const NXString & | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType, | ||
| NXOpen::Preferences::Width | width | ||
| ) |
The width of hidden line or edges.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| width | Width |
| void NXOpen::Drawings::ShipbuildingLinesViewStyle::SetWidth | ( | const char * | featureName, |
| NXOpen::Drawings::ShipbuildingLinesViewStyle::Lines | linesType, | ||
| NXOpen::Preferences::Width | width | ||
| ) |
The width of hidden line or edges.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
| featureName | feature name e.g. decks, bulkheads etc. NOTE: The full Unicode character set is not supported for this parameter. |
| linesType | visible or hidden line type |
| width | Width |
| tag_t NXOpen::Drawings::ShipbuildingLinesViewStyle::Tag | ( | ) | const |
Returns the tag of this object.