NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Drawings.ShipbuildingLinesViewStyle Class Reference

Represents set of Shipbuilding Lines View Style applicable to drafting views. More...

Inheritance diagram for NXOpen.Drawings.ShipbuildingLinesViewStyle:

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...
 

Detailed Description

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

Member Enumeration Documentation

Line type

Enumerator
Hidden 

Hidden

Visible 

Visible

Geometry type

Enumerator
Profile 

Profile

Plate 

Plate

Member Function Documentation

unsafe int NXOpen.Drawings.ShipbuildingLinesViewStyle.GetColor ( string  featureName,
NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines  linesType 
)

Get line color

Created in NX8.0.0

License requirements: None.

Parameters
featureNamefeature name e.g. decks, bulkheads etc.
linesTypevisible or hidden line type
Returns
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.

Parameters
featureNamefeature name e.g. decks, bulkheads etc.
linesTypevisible or hidden line type
Returns
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.

Parameters
featureTypefeature type
featureNamefeature name e.g. decks, bulkheads etc.
Returns
status that determines SLR for the feature
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.

Parameters
featureNamefeature name e.g. decks, bulkheads etc.
linesTypevisible or hidden line type
Returns
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")

Parameters
featureNamefeature name e.g. decks, bulkheads etc.
linesTypevisible or hidden line type
colorColor
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")

Parameters
featureNamefeature name e.g. decks, bulkheads etc.
linesTypevisible or hidden line type
fontFont
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")

Parameters
featureTypefeature type
featureNamefeature name e.g. decks, bulkheads etc.
singleLinestatus 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")

Parameters
featureNamefeature name e.g. decks, bulkheads etc.
linesTypevisible or hidden line type
widthWidth

Property Documentation

Tag NXOpen.Drawings.ShipbuildingLinesViewStyle.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.