MultilineString Class¶
-
class
NXOpen.BlockStyler.MultilineString¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents a Multiline String block
New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| Enable | Returns or sets the Enable. |
| Expanded | Returns or sets the Expanded |
| Group | Returns or sets the Group |
| Height | Returns or sets the Height |
| Label | Returns or sets the Label |
| Localize | Returns or sets the Localize. |
| MaximumCharactersAccepted | Returns or sets the MaximumCharactersAccepted |
| MaximumHeight | Returns or sets the MaximumHeight |
| MinimumHeight | Returns or sets the MinimumHeight |
| Name | Returns the name of the block or BlockID |
| ResizeHeightWithDialog | Returns or sets the ResizeHeightWithDialog. |
| RetainValue | Returns or sets the RetainValue |
| Show | Returns or sets the Visibility of block. |
| Tag | Returns the Tag for this object. |
| Type | Returns the type of block |
| ValuesConcatenated | Returns or sets the ValuesConcatenated. |
| Width | Returns or sets the Width |
Methods¶
| Method | Description |
|---|---|
| Focus | Focuses on the block. |
| GetProperties | Returns the properties of the block |
| GetValue | Gets the Value |
| SetValue | Sets the Value |
Property Detail¶
Height¶
-
MultilineString.Height¶ Returns or sets the Height
-------------------------------------Getter Method
Signature
HeightReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HeightParameters: height (int) – New in version NX8.5.0.
License requirements: None.
Localize¶
-
MultilineString.Localize¶ Returns or sets the Localize.
If true, the Label is translated to current locale language
-------------------------------------Getter Method
Signature
LocalizeReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LocalizeParameters: localize (bool) – New in version NX8.5.0.
License requirements: None.
MaximumCharactersAccepted¶
-
MultilineString.MaximumCharactersAccepted¶ Returns or sets the MaximumCharactersAccepted
-------------------------------------Getter Method
Signature
MaximumCharactersAcceptedReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaximumCharactersAcceptedParameters: maxChar (int) – New in version NX8.5.0.
License requirements: None.
MaximumHeight¶
-
MultilineString.MaximumHeight¶ Returns or sets the MaximumHeight
-------------------------------------Getter Method
Signature
MaximumHeightReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaximumHeightParameters: maxHeight (int) – New in version NX8.5.0.
License requirements: None.
MinimumHeight¶
-
MultilineString.MinimumHeight¶ Returns or sets the MinimumHeight
-------------------------------------Getter Method
Signature
MinimumHeightReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MinimumHeightParameters: minHeight (int) – New in version NX8.5.0.
License requirements: None.
ResizeHeightWithDialog¶
-
MultilineString.ResizeHeightWithDialog¶ Returns or sets the ResizeHeightWithDialog.
If true, height of block will dynamically change when the dialog is resized.
-------------------------------------Getter Method
Signature
ResizeHeightWithDialogReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ResizeHeightWithDialogParameters: resize (bool) – New in version NX8.5.0.
License requirements: None.
RetainValue¶
-
MultilineString.RetainValue¶ Returns or sets the RetainValue
-------------------------------------Getter Method
Signature
RetainValueReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RetainValueParameters: retain (bool) – New in version NX8.5.0.
License requirements: None.
ValuesConcatenated¶
-
MultilineString.ValuesConcatenated¶ Returns or sets the ValuesConcatenated.
Represents single string with values in block concatenated with new-line characters.
-------------------------------------Getter Method
Signature
ValuesConcatenatedReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ValuesConcatenatedParameters: valueString (str) – New in version NX8.5.0.
License requirements: None.
Width¶
-
MultilineString.Width¶ Returns or sets the Width
-------------------------------------Getter Method
Signature
WidthReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
WidthParameters: width (int) – New in version NX8.5.0.
License requirements: None.