LayoutState Class¶
-
class
NXOpen.CAE.
LayoutState
¶ Bases:
NXOpen.TaggedObject
This is the class representing a layout state.
Not support KF.
New in version NX11.0.0.
Properties¶
Property | Description |
---|---|
Name | Returns or sets the name of the NXOpen.CAE.LayoutState . |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Export | Exports the layout state to an external file |
GetViewportDescription | Gets the layout information and the datareferences of a given viewport location |
Rename | Renames the layout state |
SetViewportDescription | Sets the layout information and the datareferences to a given viewport location |
Property Detail¶
Name¶
-
LayoutState.
Name
¶ Returns or sets the name of the
NXOpen.CAE.LayoutState
.-------------------------------------
Getter Method
Signature
Name
Returns: Return type: str New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------
Setter Method
Signature
Name
Parameters: name (str) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Method Detail¶
Export¶
-
LayoutState.
Export
¶ Exports the layout state to an external file
Signature
Export(filePath)
Parameters: filePath (str) – New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
GetViewportDescription¶
-
LayoutState.
GetViewportDescription
¶ Gets the layout information and the datareferences of a given viewport location
Signature
GetViewportDescription(viewport)
Parameters: viewport (int) – Returns: Return type: str New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Rename¶
-
LayoutState.
Rename
¶ Renames the layout state
Signature
Rename(name)
Parameters: name (str) – New in version NX11.0.0.
Deprecated since version NX12.0.0: Use
NXOpen.CAE.LayoutState.Name`()
instead.License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SetViewportDescription¶
-
LayoutState.
SetViewportDescription
¶ Sets the layout information and the datareferences to a given viewport location
Signature
SetViewportDescription(viewport, xmloutput)
Parameters: - viewport (int) –
- xmloutput (str) –
New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)