NXOpen .NET Reference
12.0.0
|
Represents set of Ship Drafting View Lines View Preferences applicable to drafting views. More...
Public Types | |
enum | Lines { HiddenNonsection, VisibleNonsection, HiddenSection, VisibleSection, SecondaryHiddenNonsection, SecondaryVisibleNonsection, SecondaryHiddenSection, SecondaryVisibleSection } |
Line type More... | |
Public Member Functions | |
unsafe void | SetShipDrawingObject (string featureName, bool singleLine) |
Note: The initial values are set based on the file NX_ShipAttribute. More... | |
unsafe bool | GetShipDrawingObject (string featureName) |
Get single line status More... | |
unsafe void | SetColor (string featureName, NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines linesType, int color) |
The color of ship line. More... | |
unsafe int | GetColor (string featureName, NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines linesType) |
Get line color More... | |
unsafe void | SetFont (string featureName, NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines linesType, NXOpen.Preferences.Font font) |
The font type of ship line. More... | |
unsafe NXOpen.Preferences.Font | GetFont (string featureName, NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines linesType) |
Get line font More... | |
unsafe void | SetWidth (string featureName, NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines linesType, NXOpen.Preferences.Width width) |
The width of hidden line or edges. More... | |
unsafe NXOpen.Preferences.Width | GetWidth (string featureName, NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines linesType) |
Get line width More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents set of Ship Drafting View Lines View Preferences applicable to drafting views.
Ship drafting view lines are used for the features in Ship Design
To obtain an instance of this class use Preferences.ViewPreferences.ShipDraftingViewLines
Created in NX10.0.0
Line type
unsafe int NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.GetColor | ( | string | featureName, |
NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines | linesType | ||
) |
Get line color
Created in NX10.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.ShipDraftingViewLinesViewPreferences.GetFont | ( | string | featureName, |
NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines | linesType | ||
) |
Get line font
Created in NX10.0.0
License requirements: None.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
unsafe bool NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.GetShipDrawingObject | ( | string | featureName | ) |
Get single line status
Created in NX10.0.0
License requirements: None.
featureName | feature name e.g. decks, bulkheads etc. |
unsafe NXOpen.Preferences.Width NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.GetWidth | ( | string | featureName, |
NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines | linesType | ||
) |
Get line width
Created in NX10.0.0
License requirements: None.
featureName | feature name e.g. decks, bulkheads etc. |
linesType | visible or hidden line type |
unsafe void NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.SetColor | ( | string | featureName, |
NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.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 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 |
unsafe void NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.SetFont | ( | string | featureName, |
NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.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 |
unsafe void NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.SetShipDrawingObject | ( | string | 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 |
unsafe void NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.SetWidth | ( | string | featureName, |
NXOpen.Preferences.ShipDraftingViewLinesViewPreferences.Lines | linesType, | ||
NXOpen.Preferences.Width | width | ||
) |
The width of hidden line or edges.
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 |
|
get |
Returns the tag of this object.