ViewStyleTraceLinesBuilder Class¶
-
class
NXOpen.Drawings.ViewStyleTraceLinesBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents the TRACE LINES tab on the View Style Dialog (Drawings.
ViewStyleTraceLinesBuilder)
New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| CreateGaps | Returns or sets the create gaps toggle on the TRACE LINES tab of the View Style Dialog |
| GapSize | Returns or sets the gap size on the TRACE LINES tab of the View Style Dialog |
| HiddenColor | Returns or sets the hidden color on the TRACE LINES tab of the View Style Dialog |
| HiddenFont | Returns or sets the hidden font on the TRACE LINES tab of the View Style Dialog |
| HiddenWidth | Returns or sets the hidden width on the TRACE LINES tab of the View Style Dialog |
| Tag | Returns the Tag for this object. |
| VisibleColor | Returns or sets the visible color on the TRACE LINES tab of the View Style Dialog |
| VisibleFont | Returns or sets the visible font on the TRACE LINES tab of the View Style Dialog |
| VisibleWidth | Returns or sets the visible width on the TRACE 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¶
CreateGaps¶
-
ViewStyleTraceLinesBuilder.CreateGaps¶ Returns or sets the create gaps toggle on the TRACE LINES tab of the View Style Dialog
-------------------------------------Getter Method
Signature
CreateGapsReturns: Returns the create gaps toggle value that is on the trace lines sub-builder Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CreateGapsParameters: createGapsToggle (bool) – Sets a new create gaps toggle value on the trace lines sub-builder New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
GapSize¶
-
ViewStyleTraceLinesBuilder.GapSize¶ Returns or sets the gap size on the TRACE LINES tab of the View Style Dialog
-------------------------------------Getter Method
Signature
GapSizeReturns: Returns the gap size that is on the trace lines sub-builder Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GapSizeParameters: gapSize (float) – Sets a new gap size on the trace lines sub-builder New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
VisibleColor¶
-
ViewStyleTraceLinesBuilder.VisibleColor¶ Returns or sets the visible color on the TRACE LINES tab of the View Style Dialog
-------------------------------------Getter Method
Signature
VisibleColorReturns: Returns the visible color that is on the trace lines sub-builder Return type: Id New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VisibleColorParameters: visibleColor (Id) – Sets a new visible color on the trace lines sub-builder New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
VisibleFont¶
-
ViewStyleTraceLinesBuilder.VisibleFont¶ Returns or sets the visible font on the TRACE LINES tab of the View Style Dialog
-------------------------------------Getter Method
Signature
VisibleFontReturns: Returns the visible font that is on the trace lines sub-builder Return type: NXOpen.Preferences.FontNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VisibleFontParameters: font ( NXOpen.Preferences.Font) – Sets a new visible font on the trace lines sub-builderNew in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
VisibleWidth¶
-
ViewStyleTraceLinesBuilder.VisibleWidth¶ Returns or sets the visible width on the TRACE LINES tab of the View Style Dialog
-------------------------------------Getter Method
Signature
VisibleWidthReturns: Returns the visible width that is on the trace lines sub-builder Return type: NXOpen.Preferences.WidthNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VisibleWidthParameters: width ( NXOpen.Preferences.Width) – Sets a new visible width on the trace lines sub-builderNew in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
Validate¶
-
ViewStyleTraceLinesBuilder.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.