NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
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:
NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  Lines { Hidden, Visible }
 Line type More...
 
enum  ShipbuildingLines { Profile, Plate }
 Geometry type More...
 

Public Member Functions

unsafe int GetColor (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType)
 Get line color More...
 
unsafe NXOpen.Preferences.Font GetFont (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType)
 Get line font More...
 
unsafe bool GetSingleLineRepresentation (NXOpen.Drawings.ShipbuildingLinesViewStyle.ShipbuildingLines featureType, string featureName)
 Get single line status More...
 
unsafe NXOpen.Preferences.Width GetWidth (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType)
 Get line width More...
 
unsafe void SetColor (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType, int color)
 The color of ship line. More...
 
unsafe void SetFont (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType, NXOpen.Preferences.Font font)
 The font type of ship line. More...
 
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 void SetWidth (string featureName, NXOpen.Drawings.ShipbuildingLinesViewStyle.Lines linesType, NXOpen.Preferences.Width width)
 The width of hidden line or edges. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> 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 
)
inline

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 
)
inline

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 
)
inline

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 
)
inline

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 
)
inline

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 
)
inline

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 
)
inline

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 
)
inline

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 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.