LineAndArrowPreferences Class¶
-
class
NXOpen.Annotations.
LineAndArrowPreferences
¶ Bases:
NXOpen.TransientObject
Represents line and arrow preferences
New in version NX3.0.0.
Properties¶
Property | Description |
---|---|
AllAroundSymbol | Returns or sets the size of all around symbol. |
ArrowheadIncludedAngle | Returns or sets the arrowhead included angle |
ArrowheadLength | Returns or sets the arrowhead length |
ClipOrdinateDimensionLine | Returns or sets the clipping of the dimension line to the ordinate origin at the view border |
DatumLengthPastArrow | Returns or sets the datum extension line past the arrow distance |
DotArrowheadDiameter | Returns or sets the dot arrowhead diameter |
FirstArrowType | Returns or sets the first arrow type |
FirstPosToExtLineDist | Returns or sets the first position to extension line distance |
LeaderLocation | Returns or sets the leader location |
LinePastArrowDistance | Returns or sets the line past arrow distance |
LinePastArrowDistance2 | Returns or sets the 2nd line past arrow distance |
ObliqueExtensionLineAngle | Returns or sets the oblique extension line angle |
SecondArrowType | Returns or sets the second arrow type |
SecondPosToExtLineDist | Returns or sets the second position to extension line distance |
StubLength | Returns or sets the stub length |
TextOverLeaderGapFactor | Returns or sets the character size factor that controls the gap between text and the leader |
TextOverStubSpaceFactor | Returns or sets the text to stub spacing factor |
TextToLineDistance | Returns or sets the text to line distance |
Methods¶
Method | Description |
---|---|
Dispose | Frees the object from memory. |
GetFirstArrowLineCfw | Returns the first arrow line color, font, and width |
GetFirstArrowheadCfw | Returns the first arrowhead color, font, and width |
GetFirstExtensionLineCfw | Returns the first extension line color, font, and width |
GetSecondArrowLineCfw | Returns the second arrow line color, font, and width |
GetSecondArrowheadCfw | Returns the second arrowhead color, font, and width |
GetSecondExtensionLineCfw | Returns the second extension line color, font, and width |
SetFirstArrowLineCfw | Sets the first arrow line color, font, and width |
SetFirstArrowheadCfw | Sets the first arrowhead color, font, and width |
SetFirstExtensionLineCfw | Sets the first extension line color, font, and width |
SetSecondArrowLineCfw | Sets the second arrow line color, font, and width |
SetSecondArrowheadCfw | Sets the second arrowhead color, font, and width |
SetSecondExtensionLineCfw | Sets the second extension line color, font, and width |
Property Detail¶
AllAroundSymbol¶
-
LineAndArrowPreferences.
AllAroundSymbol
¶ Returns or sets the size of all around symbol.
This is also used for inner diameter of all over symbol
-------------------------------------
Getter Method
Signature
AllAroundSymbol
Returns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AllAroundSymbol
Parameters: allAroundSymbolSize (float) – New in version NX8.5.0.
License requirements: None.
ArrowheadIncludedAngle¶
-
LineAndArrowPreferences.
ArrowheadIncludedAngle
¶ Returns or sets the arrowhead included angle
-------------------------------------
Getter Method
Signature
ArrowheadIncludedAngle
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ArrowheadIncludedAngle
Parameters: arrowheadIncludedAngle (float) – New in version NX3.0.0.
License requirements: None.
ArrowheadLength¶
-
LineAndArrowPreferences.
ArrowheadLength
¶ Returns or sets the arrowhead length
-------------------------------------
Getter Method
Signature
ArrowheadLength
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ArrowheadLength
Parameters: arrowheadLength (float) – New in version NX3.0.0.
License requirements: None.
ClipOrdinateDimensionLine¶
-
LineAndArrowPreferences.
ClipOrdinateDimensionLine
¶ Returns or sets the clipping of the dimension line to the ordinate origin at the view border
-------------------------------------
Getter Method
Signature
ClipOrdinateDimensionLine
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ClipOrdinateDimensionLine
Parameters: clipOrdinateDimLine (bool) – New in version NX10.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)
DatumLengthPastArrow¶
-
LineAndArrowPreferences.
DatumLengthPastArrow
¶ Returns or sets the datum extension line past the arrow distance
-------------------------------------
Getter Method
Signature
DatumLengthPastArrow
Returns: Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DatumLengthPastArrow
Parameters: datumLengthPastArrow (float) – New in version NX4.0.0.
License requirements: None.
DotArrowheadDiameter¶
-
LineAndArrowPreferences.
DotArrowheadDiameter
¶ Returns or sets the dot arrowhead diameter
-------------------------------------
Getter Method
Signature
DotArrowheadDiameter
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DotArrowheadDiameter
Parameters: dotArrowheadDiameter (float) – New in version NX3.0.0.
License requirements: None.
FirstArrowType¶
-
LineAndArrowPreferences.
FirstArrowType
¶ Returns or sets the first arrow type
-------------------------------------
Getter Method
Signature
FirstArrowType
Returns: Return type: NXOpen.Annotations.ArrowheadType
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FirstArrowType
Parameters: firstArrowType ( NXOpen.Annotations.ArrowheadType
) –New in version NX3.0.0.
License requirements: None.
FirstPosToExtLineDist¶
-
LineAndArrowPreferences.
FirstPosToExtLineDist
¶ Returns or sets the first position to extension line distance
-------------------------------------
Getter Method
Signature
FirstPosToExtLineDist
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FirstPosToExtLineDist
Parameters: firstPosToExtensionLineDistance (float) – New in version NX3.0.0.
License requirements: None.
LeaderLocation¶
-
LineAndArrowPreferences.
LeaderLocation
¶ Returns or sets the leader location
-------------------------------------
Getter Method
Signature
LeaderLocation
Returns: Return type: NXOpen.Annotations.VerticalTextJustification
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LeaderLocation
Parameters: leaderLocation ( NXOpen.Annotations.VerticalTextJustification
) –New in version NX3.0.0.
License requirements: None.
LinePastArrowDistance¶
-
LineAndArrowPreferences.
LinePastArrowDistance
¶ Returns or sets the line past arrow distance
-------------------------------------
Getter Method
Signature
LinePastArrowDistance
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LinePastArrowDistance
Parameters: linePastArrowDistance (float) – New in version NX3.0.0.
License requirements: None.
LinePastArrowDistance2¶
-
LineAndArrowPreferences.
LinePastArrowDistance2
¶ Returns or sets the 2nd line past arrow distance
-------------------------------------
Getter Method
Signature
LinePastArrowDistance2
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LinePastArrowDistance2
Parameters: linePastArrowDistance (float) – New in version NX9.0.0.
License requirements: None.
ObliqueExtensionLineAngle¶
-
LineAndArrowPreferences.
ObliqueExtensionLineAngle
¶ Returns or sets the oblique extension line angle
-------------------------------------
Getter Method
Signature
ObliqueExtensionLineAngle
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ObliqueExtensionLineAngle
Parameters: obliqueExtensionLineAngle (float) – New in version NX3.0.0.
License requirements: None.
SecondArrowType¶
-
LineAndArrowPreferences.
SecondArrowType
¶ Returns or sets the second arrow type
-------------------------------------
Getter Method
Signature
SecondArrowType
Returns: Return type: NXOpen.Annotations.ArrowheadType
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SecondArrowType
Parameters: secondArrowType ( NXOpen.Annotations.ArrowheadType
) –New in version NX3.0.0.
License requirements: None.
SecondPosToExtLineDist¶
-
LineAndArrowPreferences.
SecondPosToExtLineDist
¶ Returns or sets the second position to extension line distance
-------------------------------------
Getter Method
Signature
SecondPosToExtLineDist
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SecondPosToExtLineDist
Parameters: secondPosToExtensionLineDistance (float) – New in version NX3.0.0.
License requirements: None.
StubLength¶
-
LineAndArrowPreferences.
StubLength
¶ Returns or sets the stub length
-------------------------------------
Getter Method
Signature
StubLength
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
StubLength
Parameters: stubLength (float) – New in version NX3.0.0.
License requirements: None.
TextOverLeaderGapFactor¶
-
LineAndArrowPreferences.
TextOverLeaderGapFactor
¶ Returns or sets the character size factor that controls the gap between text and the leader
-------------------------------------
Getter Method
Signature
TextOverLeaderGapFactor
Returns: Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TextOverLeaderGapFactor
Parameters: textOverLeaderGapFactor (float) – New in version NX8.0.0.
License requirements: None.
TextOverStubSpaceFactor¶
-
LineAndArrowPreferences.
TextOverStubSpaceFactor
¶ Returns or sets the text to stub spacing factor
-------------------------------------
Getter Method
Signature
TextOverStubSpaceFactor
Returns: Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TextOverStubSpaceFactor
Parameters: textOverStubSpaceFactor (float) – New in version NX4.0.0.
License requirements: None.
TextToLineDistance¶
-
LineAndArrowPreferences.
TextToLineDistance
¶ Returns or sets the text to line distance
-------------------------------------
Getter Method
Signature
TextToLineDistance
Returns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TextToLineDistance
Parameters: textToLineDistance (float) – New in version NX3.0.0.
License requirements: None.
Method Detail¶
Dispose¶
-
LineAndArrowPreferences.
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.
GetFirstArrowLineCfw¶
-
LineAndArrowPreferences.
GetFirstArrowLineCfw
¶ Returns the first arrow line color, font, and width
Signature
GetFirstArrowLineCfw()
Returns: Return type: NXOpen.Annotations.LineCfw
New in version NX3.0.0.
License requirements: None.
GetFirstArrowheadCfw¶
-
LineAndArrowPreferences.
GetFirstArrowheadCfw
¶ Returns the first arrowhead color, font, and width
Signature
GetFirstArrowheadCfw()
Returns: Return type: NXOpen.Annotations.LineCfw
New in version NX3.0.0.
License requirements: None.
GetFirstExtensionLineCfw¶
-
LineAndArrowPreferences.
GetFirstExtensionLineCfw
¶ Returns the first extension line color, font, and width
Signature
GetFirstExtensionLineCfw()
Returns: Return type: NXOpen.Annotations.LineCfw
New in version NX3.0.0.
License requirements: None.
GetSecondArrowLineCfw¶
-
LineAndArrowPreferences.
GetSecondArrowLineCfw
¶ Returns the second arrow line color, font, and width
Signature
GetSecondArrowLineCfw()
Returns: Return type: NXOpen.Annotations.LineCfw
New in version NX3.0.0.
License requirements: None.
GetSecondArrowheadCfw¶
-
LineAndArrowPreferences.
GetSecondArrowheadCfw
¶ Returns the second arrowhead color, font, and width
Signature
GetSecondArrowheadCfw()
Returns: Return type: NXOpen.Annotations.LineCfw
New in version NX3.0.0.
License requirements: None.
GetSecondExtensionLineCfw¶
-
LineAndArrowPreferences.
GetSecondExtensionLineCfw
¶ Returns the second extension line color, font, and width
Signature
GetSecondExtensionLineCfw()
Returns: Return type: NXOpen.Annotations.LineCfw
New in version NX3.0.0.
License requirements: None.
SetFirstArrowLineCfw¶
-
LineAndArrowPreferences.
SetFirstArrowLineCfw
¶ Sets the first arrow line color, font, and width
Signature
SetFirstArrowLineCfw(firstArrowLineCfw)
Parameters: firstArrowLineCfw ( NXOpen.Annotations.LineCfw
) –New in version NX3.0.0.
License requirements: None.
SetFirstArrowheadCfw¶
-
LineAndArrowPreferences.
SetFirstArrowheadCfw
¶ Sets the first arrowhead color, font, and width
Signature
SetFirstArrowheadCfw(firstArrowheadCfw)
Parameters: firstArrowheadCfw ( NXOpen.Annotations.LineCfw
) –New in version NX3.0.0.
License requirements: None.
SetFirstExtensionLineCfw¶
-
LineAndArrowPreferences.
SetFirstExtensionLineCfw
¶ Sets the first extension line color, font, and width
Signature
SetFirstExtensionLineCfw(firstExtensionLineCfw)
Parameters: firstExtensionLineCfw ( NXOpen.Annotations.LineCfw
) –New in version NX3.0.0.
License requirements: None.
SetSecondArrowLineCfw¶
-
LineAndArrowPreferences.
SetSecondArrowLineCfw
¶ Sets the second arrow line color, font, and width
Signature
SetSecondArrowLineCfw(secondArrowLineCfw)
Parameters: secondArrowLineCfw ( NXOpen.Annotations.LineCfw
) –New in version NX3.0.0.
License requirements: None.
SetSecondArrowheadCfw¶
-
LineAndArrowPreferences.
SetSecondArrowheadCfw
¶ Sets the second arrowhead color, font, and width
Signature
SetSecondArrowheadCfw(secondArrowheadCfw)
Parameters: secondArrowheadCfw ( NXOpen.Annotations.LineCfw
) –New in version NX3.0.0.
License requirements: None.
SetSecondExtensionLineCfw¶
-
LineAndArrowPreferences.
SetSecondExtensionLineCfw
¶ Sets the second extension line color, font, and width
Signature
SetSecondExtensionLineCfw(secondExtensionLineCfw)
Parameters: secondExtensionLineCfw ( NXOpen.Annotations.LineCfw
) –New in version NX3.0.0.
License requirements: None.