LayerBlock Class¶
-
class
NXOpen.BlockStyler.LayerBlock¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents a Layer block
New in version NX10.0.0.
Properties¶
| Property | Description |
|---|---|
| Enable | Returns or sets the Enable. |
| Expanded | Returns or sets the Expanded |
| Group | Returns or sets the Group |
| Label | Returns or sets the Label |
| LayerOption | Returns or sets the Layer Option |
| LayerValue | Returns or sets the Layer Value |
| Name | Returns the name of the block or BlockID |
| Show | Returns or sets the Visibility of block. |
| ShowMaintainLayerOption | Returns or sets the Show Maintain Layer Option If set to true, Maintain option is displayed in layer options |
| ShowOriginalLayerOption | Returns or sets the Show Original Layer Option If set to true, Original option is displayed in layer options |
| ShowUserDefinedLayerOption | Returns or sets the Show User Defined Layer Option If set to true, User Defined option is displayed in layer options |
| ShowWorkLayerOption | Returns or sets the Show Work Layer Option If set to true, Work option is displayed in layer options |
| Tag | Returns the Tag for this object. |
| Type | Returns the type of block |
Methods¶
| Method | Description |
|---|---|
| Focus | Focuses on the block. |
| GetProperties | Returns the properties of the block |
Property Detail¶
LayerOption¶
-
LayerBlock.LayerOption¶ Returns or sets the Layer Option
-------------------------------------Getter Method
Signature
LayerOptionReturns: Return type: int New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LayerOptionParameters: integerLayerOption (int) – New in version NX10.0.0.
License requirements: None.
LayerValue¶
-
LayerBlock.LayerValue¶ Returns or sets the Layer Value
-------------------------------------Getter Method
Signature
LayerValueReturns: Return type: int New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LayerValueParameters: inetegerLayerValue (int) – New in version NX10.0.0.
License requirements: None.
ShowMaintainLayerOption¶
-
LayerBlock.ShowMaintainLayerOption¶ Returns or sets the Show Maintain Layer Option If set to true, Maintain option is displayed in layer options
-------------------------------------Getter Method
Signature
ShowMaintainLayerOptionReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowMaintainLayerOptionParameters: showMaintainLayerOption (bool) – New in version NX10.0.0.
License requirements: None.
ShowOriginalLayerOption¶
-
LayerBlock.ShowOriginalLayerOption¶ Returns or sets the Show Original Layer Option If set to true, Original option is displayed in layer options
-------------------------------------Getter Method
Signature
ShowOriginalLayerOptionReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowOriginalLayerOptionParameters: showOriginalLayerOption (bool) – New in version NX10.0.0.
License requirements: None.
ShowUserDefinedLayerOption¶
-
LayerBlock.ShowUserDefinedLayerOption¶ Returns or sets the Show User Defined Layer Option If set to true, User Defined option is displayed in layer options
-------------------------------------Getter Method
Signature
ShowUserDefinedLayerOptionReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowUserDefinedLayerOptionParameters: showUserDefinedLayerOption (bool) – New in version NX10.0.0.
License requirements: None.
ShowWorkLayerOption¶
-
LayerBlock.ShowWorkLayerOption¶ Returns or sets the Show Work Layer Option If set to true, Work option is displayed in layer options
-------------------------------------Getter Method
Signature
ShowWorkLayerOptionReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowWorkLayerOptionParameters: showWorkLayerOption (bool) – New in version NX10.0.0.
License requirements: None.