CustomSymbolData Class¶
-
class
NXOpen.Annotations.CustomSymbolData¶ Bases:
NXOpen.TransientObjectRepresents custom symbol data
New in version NX4.0.0.
Deprecated since version NX9.0.0: Use
NXOpen.Annotations.DraftingCustomSymbolBuilderfor Drafting Custom Symbol andNXOpen.Annotations.PmiCustomSymbolBuilderfor PMI Custom Symbol objects.
Properties¶
| Property | Description |
|---|---|
| Angle | Returns or sets the angle |
| Scale | Returns or sets the scale |
| ScaleExpression | Returns or sets the scale expression |
| SymbolPreferencesOption | Returns or sets the symbol preferences option. |
| TextPreferencesOption | Returns or sets the text preferences option. |
Methods¶
| Method | Description |
|---|---|
| Dispose | Frees the object from memory. |
| GetTextData | Return the text data |
| SetTextData | Sets the text data |
Property Detail¶
Angle¶
-
CustomSymbolData.Angle¶ Returns or sets the angle
-------------------------------------Getter Method
Signature
AngleReturns: Angle at which custom symbol is oriented Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleParameters: angle (float) – New angle at which custom symbol will be oriented New in version NX4.0.0.
License requirements: None.
Scale¶
-
CustomSymbolData.Scale¶ Returns or sets the scale
-------------------------------------Getter Method
Signature
ScaleReturns: Scale Return type: float New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScaleParameters: scale (float) – New scale New in version NX4.0.0.
License requirements: None.
ScaleExpression¶
-
CustomSymbolData.ScaleExpression¶ Returns or sets the scale expression
-------------------------------------Getter Method
Signature
ScaleExpressionReturns: Scale expression Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScaleExpressionParameters: scaleExpression ( NXOpen.Expression) – New scale expressionNew in version NX4.0.0.
License requirements: None.
SymbolPreferencesOption¶
-
CustomSymbolData.SymbolPreferencesOption¶ Returns or sets the symbol preferences option.
This option is only available when creating.
-------------------------------------Getter Method
Signature
SymbolPreferencesOptionReturns: Symbol preferences option Return type: NXOpen.Annotations.SymbolPreferencesOptionNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SymbolPreferencesOptionParameters: option ( NXOpen.Annotations.SymbolPreferencesOption) – New symbol preferences optionNew in version NX4.0.0.
License requirements: None.
TextPreferencesOption¶
-
CustomSymbolData.TextPreferencesOption¶ Returns or sets the text preferences option.
This option is only available when creating.
-------------------------------------Getter Method
Signature
TextPreferencesOptionReturns: Text preferences option Return type: NXOpen.Annotations.TextPreferencesOptionNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TextPreferencesOptionParameters: option ( NXOpen.Annotations.TextPreferencesOption) – New text preferences optionNew in version NX4.0.0.
License requirements: None.
Method Detail¶
Dispose¶
-
CustomSymbolData.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 NX4.0.0.
License requirements: None.
GetTextData¶
-
CustomSymbolData.GetTextData¶ Return the text data
Signature
GetTextData()Returns: List of text data objects Return type: list of NXOpen.Annotations.CustomSymbolTextDataNew in version NX4.0.0.
License requirements: None.
SetTextData¶
-
CustomSymbolData.SetTextData¶ Sets the text data
Signature
SetTextData(data)Parameters: data (list of NXOpen.Annotations.CustomSymbolTextData) – List of text data objectsNew in version NX4.0.0.
License requirements: None.