DrawingArea Class¶
-
class
NXOpen.BlockStyler.
DrawingArea
¶ Bases:
NXOpen.BlockStyler.UIBlock
Represents a Drawing Area block
New in version NX8.5.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 |
Image | Returns or sets the Image |
Label | Returns or sets the Label |
Name | Returns the name of the block or BlockID |
Show | Returns or sets the Visibility of block. |
Tag | Returns the Tag for this object. |
Type | Returns the type of block |
Width | Returns or sets the Width |
Methods¶
Method | Description |
---|---|
Focus | Focuses on the block. |
GetProperties | Returns the properties of the block @return |
Property Detail¶
Height¶
-
DrawingArea.
Height
¶ Returns or sets the Height
-------------------------------------
Getter Method
Signature
Height()
Returns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Height(height)
Parameters: height (int) – New in version NX8.5.0.
License requirements: None.
Image¶
-
DrawingArea.
Image
¶ Returns or sets the Image
-------------------------------------
Getter Method
Signature
Image()
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Image(imageString)
Parameters: imageString (str) – New in version NX8.5.0.
License requirements: None.
Width¶
-
DrawingArea.
Width
¶ Returns or sets the Width
-------------------------------------
Getter Method
Signature
Width()
Returns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Width(width)
Parameters: width (int) – New in version NX8.5.0.
License requirements: None.