ViewStyleShipbuildingLinesBuilder Class¶
-
class
NXOpen.Drawings.
ViewStyleShipbuildingLinesBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents the Shipbuilding LINES tab on the View Style Dialog (Drawings.
ViewStyleShipbuildingLinesBuilder)
To create a new instance of this class, use
NXOpen.Drawings.DraftingViewCollection.CreateShipbuildingLineBuilder()
New in version NX8.0.0.
Properties¶
Property | Description |
---|---|
HiddenColor | Returns or sets the hidden line color on the SHIPBUILDING LINES tab of the View Style Dialog |
HiddenFont | Returns or sets the hidden line font on the SHIPBUILDING LINES tab of the View Style Dialog |
HiddenWidth | Returns or sets the hidden line width on the SHIPBUILDING LINES tab of the View Style Dialog |
SingleLineRepresentation | Returns or sets the Shipbuilding line toggle on the SHIPBUILDING LINES tab of the View Style Dialog |
Tag | Returns the Tag for this object. |
VisibleColor | Returns or sets the visible line color on the SHIPBUILDING LINES tab of the View Style Dialog |
VisibleFont | Returns or sets the visible line font on the SHIPBUILDING LINES tab of the View Style Dialog |
VisibleWidth | Returns or sets the visible line width on the SHIPBUILDING LINES tab of the View Style Dialog |
Methods¶
Method | Description |
---|---|
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
SingleLineRepresentation¶
-
ViewStyleShipbuildingLinesBuilder.
SingleLineRepresentation
¶ Returns or sets the Shipbuilding line toggle on the SHIPBUILDING LINES tab of the View Style Dialog
-------------------------------------
Getter Method
Signature
SingleLineRepresentation
Returns: Returns the single line toggle value for the feature on the shipbuilding line sub-builder Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SingleLineRepresentation
Parameters: singleLineToggle (bool) – Sets a new single line toggle value for the feature on the shipbuilding line sub-builder New in version NX8.0.0.
License requirements: nx_ship_drafting (“Ship Drafting”)
VisibleColor¶
-
ViewStyleShipbuildingLinesBuilder.
VisibleColor
¶ Returns or sets the visible line color on the SHIPBUILDING LINES tab of the View Style Dialog
-------------------------------------
Getter Method
Signature
VisibleColor
Returns: Returns the visible line color that is on the shipbuilding line sub-builder Return type: Id New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
VisibleColor
Parameters: color (Id) – Sets a new visible line color on the shipbuilding line sub-builder New in version NX8.0.0.
License requirements: nx_ship_drafting (“Ship Drafting”)
VisibleFont¶
-
ViewStyleShipbuildingLinesBuilder.
VisibleFont
¶ Returns or sets the visible line font on the SHIPBUILDING LINES tab of the View Style Dialog
-------------------------------------
Getter Method
Signature
VisibleFont
Returns: Returns the visible line font that is on the shipbuilding line sub-builder Return type: NXOpen.Preferences.Font
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
VisibleFont
Parameters: font ( NXOpen.Preferences.Font
) – Sets a new visible line font on the shipbuilding line sub-builderNew in version NX8.0.0.
License requirements: nx_ship_drafting (“Ship Drafting”)
VisibleWidth¶
-
ViewStyleShipbuildingLinesBuilder.
VisibleWidth
¶ Returns or sets the visible line width on the SHIPBUILDING LINES tab of the View Style Dialog
-------------------------------------
Getter Method
Signature
VisibleWidth
Returns: Returns the visible line width that is on the shipbuilding line sub-builder Return type: NXOpen.Preferences.Width
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
VisibleWidth
Parameters: width ( NXOpen.Preferences.Width
) – Sets a new visible line width on the shipbuilding line sub-builderNew in version NX8.0.0.
License requirements: nx_ship_drafting (“Ship Drafting”)
Method Detail¶
Validate¶
-
ViewStyleShipbuildingLinesBuilder.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.