ViewLabelBuilder Class¶
-
class
NXOpen.Drawings.ViewLabelBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents a
NXOpen.Drawings.ViewLabelBuilderNew in version NX9.0.0.
Properties¶
| Property | Description |
|---|---|
| CustomizedViewLabel | Returns or sets the customized view label |
| IncludeParentheses | Returns or sets the include parentheses |
| IncludeRotationAngle | Returns or sets the include rotation angle |
| IncludeRotationSymbol | Returns or sets the include rotation symbol |
| LabelCharacterHeightFactor | Returns or sets the label character height factor |
| LabelPosition | Returns or sets the label position |
| LabelPrefix | Returns or sets the label prefix |
| LetterFormat | Returns or sets the letter format |
| PrefixCharacterHeightFactor | Returns or sets the prefix character height factor |
| ReferenceToShow | Returns or sets the reference to show |
| RotationSymbolType | Returns or sets the rotation symbol type |
| ScaleCharacterHeightFactor | Returns or sets the scale character height factor |
| ScalePosition | Returns or sets the scale position |
| ScalePrefix | Returns or sets the scale prefix |
| ShowViewLabel | Returns or sets the show view label |
| ShowViewScale | Returns or sets the show view scale |
| Tag | Returns the Tag for this object. |
| ValueFormat | Returns or sets the value format |
| ViewLabelOption | Returns or sets the view label option |
Methods¶
| Method | Description |
|---|---|
| GetCustomizedViewLabelText | Returns the customized view label text |
| SetCustomizedViewLabelText | Sets the customized view label text |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
CustomizedViewLabel¶
-
ViewLabelBuilder.CustomizedViewLabel¶ Returns or sets the customized view label
-------------------------------------Getter Method
Signature
CustomizedViewLabelReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CustomizedViewLabelParameters: customizedViewLabel (bool) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
IncludeParentheses¶
-
ViewLabelBuilder.IncludeParentheses¶ Returns or sets the include parentheses
-------------------------------------Getter Method
Signature
IncludeParenthesesReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IncludeParenthesesParameters: includeParentheses (bool) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
IncludeRotationAngle¶
-
ViewLabelBuilder.IncludeRotationAngle¶ Returns or sets the include rotation angle
-------------------------------------Getter Method
Signature
IncludeRotationAngleReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IncludeRotationAngleParameters: includeRotationAngle (bool) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
IncludeRotationSymbol¶
-
ViewLabelBuilder.IncludeRotationSymbol¶ Returns or sets the include rotation symbol
-------------------------------------Getter Method
Signature
IncludeRotationSymbolReturns: Return type: bool New in version NX9.0.0.
Deprecated since version NX11.0.1: Use
NXOpen.Drawings.ViewLabelBuilder.RotationSymbolType()instead.License requirements: None.
-------------------------------------Setter Method
Signature
IncludeRotationSymbolParameters: includeRotationSymbol (bool) – New in version NX9.0.0.
Deprecated since version NX11.0.1: Use
NXOpen.Drawings.ViewLabelBuilder.RotationSymbolType()instead.License requirements: drafting (“DRAFTING”)
LabelCharacterHeightFactor¶
-
ViewLabelBuilder.LabelCharacterHeightFactor¶ Returns or sets the label character height factor
-------------------------------------Getter Method
Signature
LabelCharacterHeightFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LabelCharacterHeightFactorParameters: labelCharacterHeightFactor (float) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
LabelPosition¶
-
ViewLabelBuilder.LabelPosition¶ Returns or sets the label position
-------------------------------------Getter Method
Signature
LabelPositionReturns: Return type: NXOpen.Drawings.LabelPositionTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LabelPositionParameters: labelPosition ( NXOpen.Drawings.LabelPositionTypes) –New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
LabelPrefix¶
-
ViewLabelBuilder.LabelPrefix¶ Returns or sets the label prefix
-------------------------------------Getter Method
Signature
LabelPrefixReturns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LabelPrefixParameters: labelPrefix (str) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
LetterFormat¶
-
ViewLabelBuilder.LetterFormat¶ Returns or sets the letter format
-------------------------------------Getter Method
Signature
LetterFormatReturns: Return type: NXOpen.Drawings.LetterFormatTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LetterFormatParameters: letterFormat ( NXOpen.Drawings.LetterFormatTypes) –New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
PrefixCharacterHeightFactor¶
-
ViewLabelBuilder.PrefixCharacterHeightFactor¶ Returns or sets the prefix character height factor
-------------------------------------Getter Method
Signature
PrefixCharacterHeightFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PrefixCharacterHeightFactorParameters: prefixCharacterHeightFactor (float) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
ReferenceToShow¶
-
ViewLabelBuilder.ReferenceToShow¶ Returns or sets the reference to show
-------------------------------------Getter Method
Signature
ReferenceToShowReturns: Return type: NXOpen.Drawings.ReferenceShowTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferenceToShowParameters: referenceToShow ( NXOpen.Drawings.ReferenceShowTypes) –New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
RotationSymbolType¶
-
ViewLabelBuilder.RotationSymbolType¶ Returns or sets the rotation symbol type
-------------------------------------Getter Method
Signature
RotationSymbolTypeReturns: Return type: NXOpen.Drawings.RotationSymbolTypesNew in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
RotationSymbolTypeParameters: rotationSymbolType ( NXOpen.Drawings.RotationSymbolTypes) –New in version NX11.0.1.
License requirements: drafting (“DRAFTING”)
ScaleCharacterHeightFactor¶
-
ViewLabelBuilder.ScaleCharacterHeightFactor¶ Returns or sets the scale character height factor
-------------------------------------Getter Method
Signature
ScaleCharacterHeightFactorReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScaleCharacterHeightFactorParameters: scaleCharacterHeightFactor (float) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
ScalePosition¶
-
ViewLabelBuilder.ScalePosition¶ Returns or sets the scale position
-------------------------------------Getter Method
Signature
ScalePositionReturns: Return type: NXOpen.Drawings.ScalePositionTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScalePositionParameters: scalePosition ( NXOpen.Drawings.ScalePositionTypes) –New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
ScalePrefix¶
-
ViewLabelBuilder.ScalePrefix¶ Returns or sets the scale prefix
-------------------------------------Getter Method
Signature
ScalePrefixReturns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScalePrefixParameters: scalePrefix (str) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
ShowViewLabel¶
-
ViewLabelBuilder.ShowViewLabel¶ Returns or sets the show view label
-------------------------------------Getter Method
Signature
ShowViewLabelReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowViewLabelParameters: showViewLabel (bool) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
ShowViewScale¶
-
ViewLabelBuilder.ShowViewScale¶ Returns or sets the show view scale
-------------------------------------Getter Method
Signature
ShowViewScaleReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowViewScaleParameters: showViewScale (bool) – New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
ValueFormat¶
-
ViewLabelBuilder.ValueFormat¶ Returns or sets the value format
-------------------------------------Getter Method
Signature
ValueFormatReturns: Return type: NXOpen.Drawings.ScaleValueFormatTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ValueFormatParameters: valueFormat ( NXOpen.Drawings.ScaleValueFormatTypes) –New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
ViewLabelOption¶
-
ViewLabelBuilder.ViewLabelOption¶ Returns or sets the view label option
-------------------------------------Getter Method
Signature
ViewLabelOptionReturns: Return type: NXOpen.Drawings.ViewLabelTypesNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ViewLabelOptionParameters: viewLabelOption ( NXOpen.Drawings.ViewLabelTypes) –New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
GetCustomizedViewLabelText¶
-
ViewLabelBuilder.GetCustomizedViewLabelText¶ Returns the customized view label text
Signature
GetCustomizedViewLabelText()Returns: Return type: list of str New in version NX10.0.0.
License requirements: drafting (“DRAFTING”)
SetCustomizedViewLabelText¶
-
ViewLabelBuilder.SetCustomizedViewLabelText¶ Sets the customized view label text
Signature
SetCustomizedViewLabelText(customizedText)Parameters: customizedText (list of str) – New in version NX10.0.0.
License requirements: drafting (“DRAFTING”)
Validate¶
-
ViewLabelBuilder.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.