NXOpen .NET Reference
12.0.0
|
Represents set of Shipbuilding Lines View Style applicable to drafting views. More...
Public Types | |
enum | Lines { Hidden, Visible } |
Line type More... | |
enum | ShipbuildingLines { Profile, Plate } |
Geometry type More... | |
Public Member Functions | |
unsafe void | SetSingleLineRepresentation (NXOpen.Drawings.ShipbuildingLinesViewStyle.ShipbuildingLines featureType, string 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. More... | |
unsafe bool | GetSingleLineRepresentation (NXOpen.Drawings.ShipbuildingLinesViewStyle.ShipbuildingLines featureType, string featureName) |
Get single line status More... | |
unsafe void | SetColor (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType, int color) |
The color of ship line. More... | |
unsafe int | GetColor (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType) |
Get line color More... | |
unsafe void | SetFont (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType, NXOpen.Preferences.Font font) |
The font type of ship line. More... | |
unsafe NXOpen.Preferences.Font | GetFont (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType) |
Get line font More... | |
unsafe void | SetWidth (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType, NXOpen.Preferences.Width width) |
The width of hidden line or edges. More... | |
unsafe NXOpen.Preferences.Width | GetWidth (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType) |
Get line width More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
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
To obtain an instance of this class use Drawings.ViewStyle.ShipbuildingLines
Created in NX8.0.0
unsafe int NXOpen.Drawings.ShipbuildingLinesViewStyle.GetColor | ( | string | featureName, |
NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines | linesType | ||
) |
Get line color
Created in NX8.0.0
License requirements: None.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
unsafe NXOpen.Preferences.Font NXOpen.Drawings.ShipbuildingLinesViewStyle.GetFont | ( | string | featureName, |
NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines | linesType | ||
) |
Get line font
Created in NX8.0.0
License requirements: None.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
unsafe bool NXOpen.Drawings.ShipbuildingLinesViewStyle.GetSingleLineRepresentation | ( | NXOpen.Drawings.ShipbuildingLinesViewStyle.ShipbuildingLines | featureType, |
string | featureName | ||
) |
Get single line status
Created in NX8.0.0
License requirements: None.
featureType | feature type |
featureName | feature name e.g. decks, bulkheads etc. |
unsafe NXOpen.Preferences.Width NXOpen.Drawings.ShipbuildingLinesViewStyle.GetWidth | ( | string | featureName, |
NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines | linesType | ||
) |
Get line width
Created in NX8.0.0
License requirements: None.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
unsafe void NXOpen.Drawings.ShipbuildingLinesViewStyle.SetColor | ( | string | 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. |
linesType | visible or hidden line type |
color | Color |
unsafe void NXOpen.Drawings.ShipbuildingLinesViewStyle.SetFont | ( | string | 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. |
linesType | visible or hidden line type |
font | Font |
unsafe void NXOpen.Drawings.ShipbuildingLinesViewStyle.SetSingleLineRepresentation | ( | NXOpen.Drawings.ShipbuildingLinesViewStyle.ShipbuildingLines | featureType, |
string | 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. |
singleLine | status that determines SLR for the feature |
unsafe void NXOpen.Drawings.ShipbuildingLinesViewStyle.SetWidth | ( | string | 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. |
linesType | visible or hidden line type |
width | Width |
|
get |
Returns the tag of this object.