LetteringPreferences Class¶
-
class
NXOpen.Annotations.LetteringPreferences¶ Bases:
NXOpen.TransientObjectRepresents lettering preferences.
When setting the property, changes are not applied to object until the set method is called
New in version NX3.0.0.
Properties¶
| Property | Description |
|---|---|
| AlignmentPosition | Returns or sets the align position |
| Angle | Returns or sets the angle |
| DimAppendedTextSpaceFactor | Returns or sets the dimension/appended text space factor |
| DimDimLineSpaceFactor | Returns or sets the dimension/dimension line space factor |
| DimToleranceTextSpaceFactor | Returns or sets the dimension/tolerance text space factor |
| GdtFrameHeightFactor | Returns or sets the gdt frame height factor |
| HorizTextJust | Returns or sets the horizontal text justification |
| StackAboveSpaceFactor | Returns or sets the stack above spacing factor for space buffer above annotation in stack. |
| StackAutospace | Returns or sets the flag indicating whether to automatically set the stack spacing to system derived values |
| StackBelowSpaceFactor | Returns or sets the stack below spacing factor for space buffer below annotation in stack. |
| StackHorizontalAlignment | Returns or sets the stack horizontal(left/right) alignment option |
| StackInheritAssociatedObjects | Returns or sets the flag indicating whether to inherit the associated objects of a stack when an annotation is inserted into a stack. |
| StackLeftSpaceFactor | Returns or sets the stack left spacing factor for space buffer left annotation in stack. |
| StackRightSpaceFactor | Returns or sets the stack right spacing factor for space buffer right annotation in stack. |
| StackVerticalAlignment | Returns or sets the stack vertical(above/below) alignment option |
Methods¶
| Method | Description |
|---|---|
| Dispose | Frees the object from memory. |
| GetAppendedText | Returns the appended text |
| GetDimensionText | Returns the dimension text |
| GetGeneralText | Returns the general text |
| GetToleranceText | Returns the tolerance text |
| SetAppendedText | Sets the appended text |
| SetDimensionText | Sets the dimension text |
| SetGeneralText | Sets the general text |
| SetToleranceText | Sets the tolerance text |
Property Detail¶
AlignmentPosition¶
-
LetteringPreferences.AlignmentPosition¶ Returns or sets the align position
-------------------------------------Getter Method
Signature
AlignmentPositionReturns: Return type: NXOpen.Annotations.AlignmentPositionNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AlignmentPositionParameters: alignPosition ( NXOpen.Annotations.AlignmentPosition) –New in version NX3.0.0.
License requirements: None.
Angle¶
-
LetteringPreferences.Angle¶ Returns or sets the angle
-------------------------------------Getter Method
Signature
AngleReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleParameters: angle (float) – New in version NX3.0.0.
License requirements: None.
DimAppendedTextSpaceFactor¶
-
LetteringPreferences.DimAppendedTextSpaceFactor¶ Returns or sets the dimension/appended text space factor
-------------------------------------Getter Method
Signature
DimAppendedTextSpaceFactorReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimAppendedTextSpaceFactorParameters: dimAppTextSpaceFactor (float) – New in version NX3.0.0.
License requirements: None.
DimDimLineSpaceFactor¶
-
LetteringPreferences.DimDimLineSpaceFactor¶ Returns or sets the dimension/dimension line space factor
-------------------------------------Getter Method
Signature
DimDimLineSpaceFactorReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimDimLineSpaceFactorParameters: dimDimLineSpaceFactor (float) – New in version NX3.0.0.
License requirements: None.
DimToleranceTextSpaceFactor¶
-
LetteringPreferences.DimToleranceTextSpaceFactor¶ Returns or sets the dimension/tolerance text space factor
-------------------------------------Getter Method
Signature
DimToleranceTextSpaceFactorReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimToleranceTextSpaceFactorParameters: dimTolTextSpaceFactor (float) – New in version NX3.0.0.
License requirements: None.
GdtFrameHeightFactor¶
-
LetteringPreferences.GdtFrameHeightFactor¶ Returns or sets the gdt frame height factor
-------------------------------------Getter Method
Signature
GdtFrameHeightFactorReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GdtFrameHeightFactorParameters: gdtFrameHeightFactor (float) – New in version NX3.0.0.
License requirements: None.
HorizTextJust¶
-
LetteringPreferences.HorizTextJust¶ Returns or sets the horizontal text justification
-------------------------------------Getter Method
Signature
HorizTextJustReturns: Return type: NXOpen.Annotations.TextJustificationNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HorizTextJustParameters: horizTextJust ( NXOpen.Annotations.TextJustification) –New in version NX3.0.0.
License requirements: None.
StackAboveSpaceFactor¶
-
LetteringPreferences.StackAboveSpaceFactor¶ Returns or sets the stack above spacing factor for space buffer above annotation in stack.
-------------------------------------Getter Method
Signature
StackAboveSpaceFactorReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackAboveSpaceFactorParameters: stackAboveSpaceFactor (float) – New in version NX5.0.0.
License requirements: None.
StackAutospace¶
-
LetteringPreferences.StackAutospace¶ Returns or sets the flag indicating whether to automatically set the stack spacing to system derived values
-------------------------------------Getter Method
Signature
StackAutospaceReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackAutospaceParameters: stackAutospace (bool) – New in version NX6.0.0.
License requirements: None.
StackBelowSpaceFactor¶
-
LetteringPreferences.StackBelowSpaceFactor¶ Returns or sets the stack below spacing factor for space buffer below annotation in stack.
-------------------------------------Getter Method
Signature
StackBelowSpaceFactorReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackBelowSpaceFactorParameters: stackBelowSpaceFactor (float) – New in version NX5.0.0.
License requirements: None.
StackHorizontalAlignment¶
-
LetteringPreferences.StackHorizontalAlignment¶ Returns or sets the stack horizontal(left/right) alignment option
-------------------------------------Getter Method
Signature
StackHorizontalAlignmentReturns: Return type: NXOpen.Annotations.StackHorizontalAlignmentNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackHorizontalAlignmentParameters: horizontalAlignment ( NXOpen.Annotations.StackHorizontalAlignment) –New in version NX5.0.0.
License requirements: None.
StackInheritAssociatedObjects¶
-
LetteringPreferences.StackInheritAssociatedObjects¶ Returns or sets the flag indicating whether to inherit the associated objects of a stack when an annotation is inserted into a stack.
-------------------------------------Getter Method
Signature
StackInheritAssociatedObjectsReturns: Flag to whether inherit associated objects of stack Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackInheritAssociatedObjectsParameters: stackInheritAssociatedObjects (bool) – Flag to whether inherit associated objects of stack New in version NX5.0.0.
License requirements: None.
StackLeftSpaceFactor¶
-
LetteringPreferences.StackLeftSpaceFactor¶ Returns or sets the stack left spacing factor for space buffer left annotation in stack.
-------------------------------------Getter Method
Signature
StackLeftSpaceFactorReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackLeftSpaceFactorParameters: stackLeftSpaceFactor (float) – New in version NX5.0.0.
License requirements: None.
StackRightSpaceFactor¶
-
LetteringPreferences.StackRightSpaceFactor¶ Returns or sets the stack right spacing factor for space buffer right annotation in stack.
-------------------------------------Getter Method
Signature
StackRightSpaceFactorReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackRightSpaceFactorParameters: stackRightSpaceFactor (float) – New in version NX5.0.0.
License requirements: None.
StackVerticalAlignment¶
-
LetteringPreferences.StackVerticalAlignment¶ Returns or sets the stack vertical(above/below) alignment option
-------------------------------------Getter Method
Signature
StackVerticalAlignmentReturns: Return type: NXOpen.Annotations.StackVerticalAlignmentNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StackVerticalAlignmentParameters: verticalAlignment ( NXOpen.Annotations.StackVerticalAlignment) –New in version NX5.0.0.
License requirements: None.
Method Detail¶
Dispose¶
-
LetteringPreferences.Dispose¶ Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Signature
Dispose()New in version NX3.0.0.
License requirements: None.
GetAppendedText¶
-
LetteringPreferences.GetAppendedText¶ Returns the appended text
Signature
GetAppendedText()Returns: Return type: NXOpen.Annotations.LetteringNew in version NX3.0.0.
License requirements: None.
GetDimensionText¶
-
LetteringPreferences.GetDimensionText¶ Returns the dimension text
Signature
GetDimensionText()Returns: Return type: NXOpen.Annotations.LetteringNew in version NX3.0.0.
License requirements: None.
GetGeneralText¶
-
LetteringPreferences.GetGeneralText¶ Returns the general text
Signature
GetGeneralText()Returns: Return type: NXOpen.Annotations.LetteringNew in version NX3.0.0.
License requirements: None.
GetToleranceText¶
-
LetteringPreferences.GetToleranceText¶ Returns the tolerance text
Signature
GetToleranceText()Returns: Return type: NXOpen.Annotations.LetteringNew in version NX3.0.0.
License requirements: None.
SetAppendedText¶
-
LetteringPreferences.SetAppendedText¶ Sets the appended text
Signature
SetAppendedText(appendedText)Parameters: appendedText ( NXOpen.Annotations.Lettering) –New in version NX3.0.0.
License requirements: None.
SetDimensionText¶
-
LetteringPreferences.SetDimensionText¶ Sets the dimension text
Signature
SetDimensionText(dimensionText)Parameters: dimensionText ( NXOpen.Annotations.Lettering) –New in version NX3.0.0.
License requirements: None.
SetGeneralText¶
-
LetteringPreferences.SetGeneralText¶ Sets the general text
Signature
SetGeneralText(generalText)Parameters: generalText ( NXOpen.Annotations.Lettering) –New in version NX3.0.0.
License requirements: None.
SetToleranceText¶
-
LetteringPreferences.SetToleranceText¶ Sets the tolerance text
Signature
SetToleranceText(toleranceText)Parameters: toleranceText ( NXOpen.Annotations.Lettering) –New in version NX3.0.0.
License requirements: None.