NXOpen .NET Reference
12.0.0
|
Represents set of Ship Drafting Lines View Style 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 ship drawing object status. More... | |
unsafe void | SetColor (string featureName, NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines linesType, NXOpen.NXColor color) |
The color of ship line. More... | |
unsafe NXOpen.NXColor | GetColor (string featureName, NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines linesType) |
Gets line color. More... | |
unsafe void | SetFont (string featureName, NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines linesType, NXOpen.Preferences.Font font) |
The font type of ship line. More... | |
unsafe NXOpen.Preferences.Font | GetFont (string featureName, NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines linesType) |
Gets line font. More... | |
unsafe void | SetWidth (string featureName, NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines linesType, NXOpen.Preferences.Width width) |
The width of ship line. More... | |
unsafe NXOpen.Preferences.Width | GetWidth (string featureName, NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines linesType) |
Gets line width More... | |
Properties | |
Tag | Tag [get] |
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
unsafe NXOpen.NXColor NXOpen.Drawings.ShipDraftingViewLinesViewStyle.GetColor | ( | string | featureName, |
NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines | linesType | ||
) |
Gets 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.Drawings.ShipDraftingViewLinesViewStyle.GetFont | ( | string | featureName, |
NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines | linesType | ||
) |
Gets 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.Drawings.ShipDraftingViewLinesViewStyle.GetShipDrawingObject | ( | string | featureName | ) |
Get ship drawing object status.
Created in NX10.0.0
License requirements: None.
featureName | feature name e.g. decks, bulkheads etc. |
unsafe NXOpen.Preferences.Width NXOpen.Drawings.ShipDraftingViewLinesViewStyle.GetWidth | ( | string | featureName, |
NXOpen.Drawings.ShipDraftingViewLinesViewStyle.Lines | linesType | ||
) |
Gets 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.Drawings.ShipDraftingViewLinesViewStyle.SetColor | ( | string | 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 |
unsafe void NXOpen.Drawings.ShipDraftingViewLinesViewStyle.SetFont | ( | string | 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 |
unsafe void NXOpen.Drawings.ShipDraftingViewLinesViewStyle.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.Drawings.ShipDraftingViewLinesViewStyle.SetWidth | ( | string | 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 |
|
get |
Returns the tag of this object.