CaeSession Class¶
-
class
NXOpen.CAE.CaeSession¶ Bases:
objectThis class provides access to all session related CAE functionality
To obtain an instance of this class, refer to
NXOpen.SessionNew in version NX7.5.0.
“MaterialUtils”, “Returns the
NXOpen.MaterialUtilitiesinstance belonging to this session ” “AssociationUtils”, “Returns theNXOpen.CAE.AssociationUtilitiesinstance belonging to this session ” “QualityAuditManager”, “Returns theNXOpen.CAE.QualityAudit.Managerbelonging to this session. “
Methods¶
| Method | Description |
|---|---|
| GetDataContainer | Returns a NXOpen.CAE.CaeDataContainer to be used for specifying input parameters operations like Simulation Import and Export. |
| ImportSimulation | Creates a NXOpen.CAE.SimPart and a NXOpen.CAE.FemPart from solver specific data. |
| SetFileNewContext | Sets the context part for use in naming new FEM, Sim, and Idealized parts in managed mode. |
MaterialUtils¶
-
CaeSession.MaterialUtils¶ Returns the
NXOpen.MaterialUtilitiesinstance belonging to this sessionSignature
MaterialUtilsNew in version NX10.0.0.
Returns: Return type: NXOpen.MaterialUtilities
AssociationUtils¶
-
CaeSession.AssociationUtils¶ Returns the
NXOpen.CAE.AssociationUtilitiesinstance belonging to this sessionSignature
AssociationUtilsNew in version NX11.0.0.
Returns: Return type: NXOpen.CAE.AssociationUtilities
Method Detail¶
GetDataContainer¶
-
CaeSession.GetDataContainer¶ Returns a
NXOpen.CAE.CaeDataContainerto be used for specifying input parameters operations like Simulation Import and Export.Signature
GetDataContainer()Returns: the Cae Data Container Return type: NXOpen.CAE.CaeDataContainerNew in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
ImportSimulation¶
-
CaeSession.ImportSimulation¶ Creates a
NXOpen.CAE.SimPartand aNXOpen.CAE.FemPartfrom solver specific data.Import is driven by that properties defined in the input
NXOpen.CAE.CaeDataContainerpropertyList. The exact properties can vary from solver to solver.Signature
ImportSimulation(solverName, propertyList)Parameters: - solverName (str) – the solver name to indicate what type of data is being imported
- propertyList (
NXOpen.CAE.CaeDataContainer) – the import parameters seeGetDataContainer().
Returns: Return type: New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SetFileNewContext¶
-
CaeSession.SetFileNewContext¶ Sets the context part for use in naming new FEM, Sim, and Idealized parts in managed mode.
Signature
SetFileNewContext(contextPart)Parameters: contextPart ( NXOpen.NXObject) – the context partNew in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)