SimResultReference Class¶
-
class
NXOpen.CAE.
SimResultReference
¶ Bases:
NXOpen.TaggedObject
,NXOpen.CAE.IPostScenarioDataSource
Represents a Result Reference in the .sim files
For more information, refer to the Solver language documentation in the Solver language documentation.
This class is not created directly by the user.
New in version NX10.0.0.
Properties¶
Property | Description |
---|---|
Tag | Returns the Tag for this object. |
CompanionResults |
|
Methods¶
Method | Description |
---|---|
GetManagedResultFile | Get the managed result file name @return managed result file name |
GetResultFile | Get the result file directory and result file name |
GetResultFileUnits | Get basic 6 units which are stored with solution used for loading the result file |
SetInferredResultFile | Clear previously specified result file location |
SetInferredResultFileUnits | Clears previously specified result file units |
SetLocalResultFile | Specify local result file |
SetManagedResultFile | Specify managed result file |
SetResultFileUnits | Set result file units |
Enumerations¶
SimResultReferenceType Enumeration | Result Types |
CompanionResults¶
-
SimResultReference.
CompanionResults
¶ Returns the CAE Companion Results collection belonging to this Result Reference
Signature
CompanionResults()
New in version NX10.0.0.
Returns: Return type: NXOpen.CAE.CompanionResultCollection
Method Detail¶
GetManagedResultFile¶
-
SimResultReference.
GetManagedResultFile
¶ Get the managed result file name
Signature
GetManagedResultFile()
Returns: managed result file name Return type: str New in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
GetResultFile¶
-
SimResultReference.
GetResultFile
¶ Get the result file directory and result file name
Signature
GetResultFile()
Returns: a tuple Return type: A tuple consisting of (resultfiledir, resfilename). resultfiledir is a str. directly path where result file is stored resfilename is a str. result file name New in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
GetResultFileUnits¶
-
SimResultReference.
GetResultFileUnits
¶ Get basic 6 units which are stored with solution used for loading the result file
Signature
GetResultFileUnits()
Returns: 6 basic units used to define the quantities in result file in order of mass, length, time, temperature, angle, and thermal energy Return type: list of NXOpen.Unit
New in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SetInferredResultFile¶
-
SimResultReference.
SetInferredResultFile
¶ Clear previously specified result file location
Signature
SetInferredResultFile()
New in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SetInferredResultFileUnits¶
-
SimResultReference.
SetInferredResultFileUnits
¶ Clears previously specified result file units
Signature
SetInferredResultFileUnits()
New in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SetLocalResultFile¶
-
SimResultReference.
SetLocalResultFile
¶ Specify local result file
Signature
SetLocalResultFile(dirpath, filename)
Parameters: - dirpath (str) – directory name
- filename (str) – file name
New in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SetManagedResultFile¶
-
SimResultReference.
SetManagedResultFile
¶ Specify managed result file
Signature
SetManagedResultFile(file)
Parameters: file (str) – file name New in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SetResultFileUnits¶
-
SimResultReference.
SetResultFileUnits
¶ Set result file units
Signature
SetResultFileUnits(units)
Parameters: units (list of NXOpen.Unit
) – 6 units for mass, length, time, temperature, angle, and thermal energyNew in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)