LineAndArrowPreferences Class¶
-
class
NXOpen.Annotations.LineAndArrowPreferences¶ Bases:
NXOpen.TransientObjectRepresents 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
AllAroundSymbolReturns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AllAroundSymbolParameters: allAroundSymbolSize (float) – New in version NX8.5.0.
License requirements: None.
ArrowheadIncludedAngle¶
-
LineAndArrowPreferences.ArrowheadIncludedAngle¶ Returns or sets the arrowhead included angle
-------------------------------------Getter Method
Signature
ArrowheadIncludedAngleReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ArrowheadIncludedAngleParameters: arrowheadIncludedAngle (float) – New in version NX3.0.0.
License requirements: None.
ArrowheadLength¶
-
LineAndArrowPreferences.ArrowheadLength¶ Returns or sets the arrowhead length
-------------------------------------Getter Method
Signature
ArrowheadLengthReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ArrowheadLengthParameters: 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
ClipOrdinateDimensionLineReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ClipOrdinateDimensionLineParameters: 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
DatumLengthPastArrowReturns: Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DatumLengthPastArrowParameters: datumLengthPastArrow (float) – New in version NX4.0.0.
License requirements: None.
DotArrowheadDiameter¶
-
LineAndArrowPreferences.DotArrowheadDiameter¶ Returns or sets the dot arrowhead diameter
-------------------------------------Getter Method
Signature
DotArrowheadDiameterReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DotArrowheadDiameterParameters: dotArrowheadDiameter (float) – New in version NX3.0.0.
License requirements: None.
FirstArrowType¶
-
LineAndArrowPreferences.FirstArrowType¶ Returns or sets the first arrow type
-------------------------------------Getter Method
Signature
FirstArrowTypeReturns: Return type: NXOpen.Annotations.ArrowheadTypeNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FirstArrowTypeParameters: 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
FirstPosToExtLineDistReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FirstPosToExtLineDistParameters: firstPosToExtensionLineDistance (float) – New in version NX3.0.0.
License requirements: None.
LeaderLocation¶
-
LineAndArrowPreferences.LeaderLocation¶ Returns or sets the leader location
-------------------------------------Getter Method
Signature
LeaderLocationReturns: Return type: NXOpen.Annotations.VerticalTextJustificationNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LeaderLocationParameters: 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
LinePastArrowDistanceReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LinePastArrowDistanceParameters: 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
LinePastArrowDistance2Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LinePastArrowDistance2Parameters: 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
ObliqueExtensionLineAngleReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ObliqueExtensionLineAngleParameters: obliqueExtensionLineAngle (float) – New in version NX3.0.0.
License requirements: None.
SecondArrowType¶
-
LineAndArrowPreferences.SecondArrowType¶ Returns or sets the second arrow type
-------------------------------------Getter Method
Signature
SecondArrowTypeReturns: Return type: NXOpen.Annotations.ArrowheadTypeNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SecondArrowTypeParameters: 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
SecondPosToExtLineDistReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SecondPosToExtLineDistParameters: secondPosToExtensionLineDistance (float) – New in version NX3.0.0.
License requirements: None.
StubLength¶
-
LineAndArrowPreferences.StubLength¶ Returns or sets the stub length
-------------------------------------Getter Method
Signature
StubLengthReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StubLengthParameters: 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
TextOverLeaderGapFactorReturns: Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TextOverLeaderGapFactorParameters: 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
TextOverStubSpaceFactorReturns: Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TextOverStubSpaceFactorParameters: 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
TextToLineDistanceReturns: Return type: float New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TextToLineDistanceParameters: 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.LineCfwNew 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.LineCfwNew 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.LineCfwNew 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.LineCfwNew 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.LineCfwNew 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.LineCfwNew 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.