NXOpen .NET Reference
12.0.0
|
Represents set of Shipbuilding Lines View Preferences applicable to drafting views. More...
Public Types | |
enum | Lines { Hidden, Visible } |
Line type More... | |
enum | ShipbuildingLines { Profile, Plate } |
Geometry type More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents set of Shipbuilding Lines View Preferences 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 Preferences.ViewPreferences.ShipbuildingLines
Created in NX8.0.0
unsafe int NXOpen.Preferences.ShipbuildingLinesViewPreferences.GetColor | ( | string | featureName, |
NXOpen.Preferences.ShipbuildingLinesViewPreferences.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.Preferences.ShipbuildingLinesViewPreferences.GetFont | ( | string | featureName, |
NXOpen.Preferences.ShipbuildingLinesViewPreferences.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.Preferences.ShipbuildingLinesViewPreferences.GetSingleLineRepresentation | ( | NXOpen.Preferences.ShipbuildingLinesViewPreferences.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.Preferences.ShipbuildingLinesViewPreferences.GetWidth | ( | string | featureName, |
NXOpen.Preferences.ShipbuildingLinesViewPreferences.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.Preferences.ShipbuildingLinesViewPreferences.SetColor | ( | string | featureName, |
NXOpen.Preferences.ShipbuildingLinesViewPreferences.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.Preferences.ShipbuildingLinesViewPreferences.SetFont | ( | string | featureName, |
NXOpen.Preferences.ShipbuildingLinesViewPreferences.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.Preferences.ShipbuildingLinesViewPreferences.SetSingleLineRepresentation | ( | NXOpen.Preferences.ShipbuildingLinesViewPreferences.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.Preferences.ShipbuildingLinesViewPreferences.SetWidth | ( | string | featureName, |
NXOpen.Preferences.ShipbuildingLinesViewPreferences.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.