Result Class¶
-
class
NXOpen.CAE.
Result
¶ Bases:
NXOpen.NXObject
This class provides interfaces to query analysis results. <br/>To query results you must first understand how the results are structured. The basic structure is as follows
- Load case
- Iteration
- Result Type
<br/>Results are divided into Load Cases(loadcase). Loadcase is a general term which could representand of the follow based on solution type
- Solution Steps
- Modes
- Frequencies
- etc
The number of Loadcases can be obtained by using
NXOpen.CAE.Result.AskNumLoadcases()
. When querying information for a loadcase you will use the loadcase index ( 0 to n-1 ), where n is the number of loadcases. Each Loadcase is divided into multiple iterations, although for many results there will be only 1 iteration. Based on solution type, these iterations could represent- Time Steps
- Cycles
- Solver iterations
- etc
The number of iterations for a given loadcase can be obtained by using
NXOpen.CAE.Result.AskNumIterations()
and specify the loadcase index. When querying information for a specific iteration, you will use both the loadcase and iteration index. Within an iteration query all the available Result types usingNXOpen.CAE.Result.AskResultTypes()
A Result type is defined by three parameters
NXOpen.CAE.ResultQuantity
- It specifies physical quantity of the result like Displacement, Stress etc.NXOpen.CAE.ResultLocation
- It specifies where the result is defined like Nodal, Elemental, or Element NodalNXOpen.CAE.ResultSection
- It specifies on which section or gauss point the result is calculated
The Results object also contains information on the finite element model for which results may be accessed. The number of nodes in this results model can be obtained by using
NXOpen.CAE.Result.AskNumNodes()
. The number of elements in this results model can be obtained by usingNXOpen.CAE.Result.AskNumElements()
. Elements are also organized in several groups (of typeNXOpen.CAE.ResultGroupContainer
) based on the element type, material and physical property. One can query the number of each group type and its content.Nodes and Elements in result the file are addressed by their index which varies from 1 to number of nodes/elements. Node and Element can have a user label associated with it. User labels are unique and have one to one mapping with its index.
An instance of this class can not be obtained
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
IsOccurrence | Returns whether this object is an occurrence or not. |
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
Name | Returns the custom name of the object. |
OwningComponent | Returns the owning component, if this object is an occurrence. |
OwningPart | Returns the owning part of this object |
Prototype | Returns the prototype of this object if it is an occurrence. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
AskElementIndex | Ask element index of a given element user label |
AskElementLabel | Ask element user label of a given element index |
AskElementNodes | Asks for the nodes given an element |
AskElementShape | Ask element shape given an element index |
AskIterations | Number of iterations available for a given loadcase and their descriptions Iteration index varies from 0 to N-1 (number of iterations) |
AskLoadcases | Number of loadcases available in the result file and their descriptions. |
AskNodeCoordinates | Asks for the coordinates of a node array |
AskNodeIndex | Ask node index of a given node user label |
AskNodeIndicesOnElementEdge | Returns number of nodes and node Indices on given element index and edge index. |
AskNodeIndicesOnElementFace | Returns number of nodes and node Indices on given element index and face index. |
AskNodeLabel | Ask node user label of a given node index |
AskNumEdgesOnElement | Returns number of edges on given element index |
AskNumElements | Ask number of elements in the model Element index varies from 0 to N-1 (number of elements) |
AskNumElementsOfGroup | Returns an array of elements indices for a given group Group index range from 0 to N-1 (number of groups) |
AskNumFacesOnElement | Returns number of faces on given element index |
AskNumGroupsInContainer | Returns the number of groups available in the model of type NXOpen.CAE.ResultGroupContainer |
AskNumIterations | Number of iterations available for a given loadcase. |
AskNumLoadcases | Number of loadcases available in the result file |
AskNumNodes | Ask number of nodes in the model Node index varies from 1 to N (number of nodes) |
AskNumberOfSectors | Returns number of sectors for cyclic symmetric solution |
AskResultDataType | Ask result datatype |
AskResultLoadcaseValue | Ask load case description, value type and value for the input load case |
AskResultSections | Ask element ids and corresponding number of sections at which result is defined |
AskResultTypes | Returns an array of result types and descriptions available for a given loadcase and iteration |
AskSectionDescription | Ask Section description provided section type |
CreateAttributeIterator | Create an attribute iterator |
DeleteAllAttributesByType | Deletes all attributes of a specific type. |
DeleteAttributeByTypeAndTitle | Deletes an attribute by type and title. |
DeleteUserAttribute | Deletes the first attribute encountered with the given Type, Title. |
DeleteUserAttributes | Deletes the attributes on the object, if any, that satisfy the given iterator |
Find | Returns a NXOpen.CAE.BaseLoadcase |
FindObject | Finds the NXOpen.NXObject with the given identifier as recorded in a journal. |
GetAttributeTitlesByType | Gets all the attribute titles of a specific type. |
GetBooleanUserAttribute | Gets a boolean attribute by Title and array Index. |
GetComputationalTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetIntegerAttribute | Gets an integer attribute by title. |
GetIntegerUserAttribute | Gets an integer attribute by Title and array Index. |
GetLoadcases | Ask the loadcases present in this result |
GetMeshes | Returns number of meshgoups and array of their objects in the loaded result. |
GetMeshesOfGivenDimension | Returns number of meshgoups and array of their objects of the given dimension in the loaded result. |
GetNextUserAttribute | Gets the next attribute encountered on the object, if any, that satisfies the given iterator. |
GetPdmReferenceAttributeValue | Gets the value of PDM Reference attribute for given object. |
GetRealAttribute | Gets a real attribute by title. |
GetRealUserAttribute | Gets a real attribute by Title and array Index. |
GetReferenceAttribute | Gets the reference string (not the calculated value) of a string attribute that uses a reference string. |
GetResultCoordinateSystemDefinition | Returns definitions of a result coordinate system |
GetResultCoordinateSystems | Returns coordinate system IDs defined in the result |
GetStringAttribute | Gets a string attribute value by title. |
GetStringUserAttribute | Gets a string attribute by Title and array Index. |
GetTimeAttribute | Gets a time attribute by title. |
GetTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetUserAttribute | Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. |
GetUserAttributeAsString | Gets the first attribute encountered on the object, if any, with a given title, type and array index. |
GetUserAttributeCount | Gets the count of set attributes on the object, if any, that satisfy the given iterator. |
GetUserAttributeLock | Determine the lock of the given attribute. |
GetUserAttributeSize | Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. |
GetUserAttributeSourceObjects | Returns an array of objects from which this object presents attributes. |
GetUserAttributes | Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. |
GetUserAttributesAsStrings | Gets all the attributes that have been set on the given object. |
HasUserAttribute | Determines if an attribute exists on the object, that satisfies the given iterator |
IsResultTypeComplex | Ask whether a result type is complex or not |
Prints a representation of this object to the system log file. | |
SetAttribute | Creates or modifies an integer attribute. |
SetBooleanUserAttribute | Creates or modifies a boolean attribute with the option to update or not. |
SetName | Sets the custom name of the object. |
SetPdmReferenceAttribute | Sets the value of PDM Reference attribute on the object. |
SetReferenceAttribute | Creates or modifies a string attribute which uses a reference string. |
SetTimeAttribute | Creates or modifies a time attribute. |
SetTimeUserAttribute | Creates or modifies a time attribute with the option to update or not. |
SetUserAttribute | Creates or modifies an attribute with the option to update or not. |
SetUserAttributeLock | Lock or unlock the given attribute. |
Enumerations¶
Structs¶
ResultAveraging_Struct Struct | Averaging structure to specify averaging options |
ResultDeformationParameters_Struct Struct | Deformation parameter structure to specify complete result state for the deformed shape This structure has been replaced by NXOpen.CAE.DeformationParameters |
ResultElementValue_Struct Struct | Element-value structure to specify element value options |
ResultResultBasicUnit_Struct Struct | The basic units system for a result |
ResultResultParameters_Struct Struct | Result parameter structure to specify complete result state for the color display This structure has been replaced by NXOpen.CAE.ResultParameters |
ResultResultSection_Struct Struct | Result Section structure to specify a result section for beams and shells |
ResultType_Struct Struct | Result type structure to specify a result dataset |
ResultVelocityParameters_Struct Struct | Velociy parameter structure to specify result state for the velocity field used in streamline extraction |
Property Detail¶
IsOccurrence¶
-
Result.
IsOccurrence
¶ Returns whether this object is an occurrence or not.
-------------------------------------
Getter Method
Signature
IsOccurrence
Returns: This object is an occurrence Return type: bool New in version NX3.0.0.
License requirements: None.
JournalIdentifier¶
-
Result.
JournalIdentifier
¶ Returns the identifier that would be recorded in a journal for this object.
This may not be the same across different releases of the software.
-------------------------------------
Getter Method
Signature
JournalIdentifier
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
Name¶
-
Result.
Name
¶ Returns the custom name of the object.
-------------------------------------
Getter Method
Signature
Name
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
OwningComponent¶
-
Result.
OwningComponent
¶ Returns the owning component, if this object is an occurrence.
-------------------------------------
Getter Method
Signature
OwningComponent
Returns: Return type: NXOpen.Assemblies.Component
New in version NX3.0.0.
License requirements: None.
OwningPart¶
-
Result.
OwningPart
¶ Returns the owning part of this object
-------------------------------------
Getter Method
Signature
OwningPart
Returns: The owning part of this object or null if it does not have an owner Return type: NXOpen.BasePart
New in version NX3.0.0.
License requirements: None.
Prototype¶
-
Result.
Prototype
¶ Returns the prototype of this object if it is an occurrence.
-------------------------------------
Getter Method
Signature
Prototype
Returns: The prototype of this object or null if this object is not an occurrence Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
Method Detail¶
AskElementIndex¶
-
Result.
AskElementIndex
¶ Ask element index of a given element user label
Signature
AskElementIndex(elementLabel)
Parameters: elementLabel (int) – Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskElementLabel¶
-
Result.
AskElementLabel
¶ Ask element user label of a given element index
Signature
AskElementLabel(elementIndex)
Parameters: elementIndex (int) – element index ranges from 1 to N (number of elements) Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskElementNodes¶
-
Result.
AskElementNodes
¶ Asks for the nodes given an element
Signature
AskElementNodes(elementIndex)
Parameters: elementIndex (int) – Returns: Return type: list of int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskElementShape¶
-
Result.
AskElementShape
¶ Ask element shape given an element index
Signature
AskElementShape(elementIndex)
Parameters: elementIndex (int) – Element Index Returns: Element topology Return type: NXOpen.CAE.ElementTypesShape
New in version NX6.0.3.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskIterations¶
-
Result.
AskIterations
¶ Number of iterations available for a given loadcase and their descriptions Iteration index varies from 0 to N-1 (number of iterations)
Signature
AskIterations(loadcaseIndex)
Parameters: loadcaseIndex (int) – Returns: Return type: list of str New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskLoadcases¶
-
Result.
AskLoadcases
¶ Number of loadcases available in the result file and their descriptions.
Loadcase index varies from 0 to N-1 (number of loadcases)
Signature
AskLoadcases()
Returns: Return type: list of str New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNodeCoordinates¶
-
Result.
AskNodeCoordinates
¶ Asks for the coordinates of a node array
Signature
AskNodeCoordinates(nodeIndex)
Parameters: nodeIndex (list of int) – Returns: Return type: list of NXOpen.Point3d
New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNodeIndex¶
-
Result.
AskNodeIndex
¶ Ask node index of a given node user label
Signature
AskNodeIndex(nodeLabel)
Parameters: nodeLabel (int) – Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNodeIndicesOnElementEdge¶
-
Result.
AskNodeIndicesOnElementEdge
¶ Returns number of nodes and node Indices on given element index and edge index.
Edge index will vary from 0 to n-1 where, n is the number of edges on element.
Signature
AskNodeIndicesOnElementEdge(elementIndex, edgeIndex)
Parameters: - elementIndex (int) – element index ranges from 1 to N (where N is number of elements)
NXOpen.CAE.Result.AskNumElements()
- edgeIndex (int) – edge index ranges from 0 to N-1 (where N is number of edges)
NXOpen.CAE.Result.AskNumEdgesOnElement()
Returns: Return type: list of int
New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
- elementIndex (int) – element index ranges from 1 to N (where N is number of elements)
AskNodeIndicesOnElementFace¶
-
Result.
AskNodeIndicesOnElementFace
¶ Returns number of nodes and node Indices on given element index and face index.
Face index will vary from 0 to n-1 where, n is the number of faces on element.
Signature
AskNodeIndicesOnElementFace(elementIndex, faceIndex)
Parameters: - elementIndex (int) – element index ranges from 1 to N (where N is number of elements)
NXOpen.CAE.Result.AskNumElements()
- faceIndex (int) – face index ranges from 0 to N-1 (where N is number of faces)
NXOpen.CAE.Result.AskNumFacesOnElement()
Returns: Return type: list of int
New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
- elementIndex (int) – element index ranges from 1 to N (where N is number of elements)
AskNodeLabel¶
-
Result.
AskNodeLabel
¶ Ask node user label of a given node index
Signature
AskNodeLabel(nodeIndex)
Parameters: nodeIndex (int) – node index ranges from 1 to N (number of nodes) Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNumEdgesOnElement¶
-
Result.
AskNumEdgesOnElement
¶ Returns number of edges on given element index
Signature
AskNumEdgesOnElement(elementIndex)
Parameters: elementIndex (int) – element index ranges from 1 to N (where N is number of elements) NXOpen.CAE.Result.AskNumElements()
Returns: Return type: int New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNumElements¶
-
Result.
AskNumElements
¶ Ask number of elements in the model Element index varies from 0 to N-1 (number of elements)
Signature
AskNumElements()
Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNumElementsOfGroup¶
-
Result.
AskNumElementsOfGroup
¶ Returns an array of elements indices for a given group Group index range from 0 to N-1 (number of groups)
Signature
AskNumElementsOfGroup(type, groupIndex)
Parameters: - type (
NXOpen.CAE.ResultGroupContainer
) – - groupIndex (int) –
Returns: Return type: list of int
New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
- type (
AskNumFacesOnElement¶
-
Result.
AskNumFacesOnElement
¶ Returns number of faces on given element index
Signature
AskNumFacesOnElement(elementIndex)
Parameters: elementIndex (int) – element index ranges from 1 to N (where N is number of elements) NXOpen.CAE.Result.AskNumElements()
Returns: Return type: int New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNumGroupsInContainer¶
-
Result.
AskNumGroupsInContainer
¶ Returns the number of groups available in the model of type
NXOpen.CAE.ResultGroupContainer
Signature
AskNumGroupsInContainer(type)
Parameters: type ( NXOpen.CAE.ResultGroupContainer
) –Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNumIterations¶
-
Result.
AskNumIterations
¶ Number of iterations available for a given loadcase.
Signature
AskNumIterations(loadcaseIndex)
Parameters: loadcaseIndex (int) – Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNumLoadcases¶
-
Result.
AskNumLoadcases
¶ Number of loadcases available in the result file
Signature
AskNumLoadcases()
Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNumNodes¶
-
Result.
AskNumNodes
¶ Ask number of nodes in the model Node index varies from 1 to N (number of nodes)
Signature
AskNumNodes()
Returns: Return type: int New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskNumberOfSectors¶
-
Result.
AskNumberOfSectors
¶ Returns number of sectors for cyclic symmetric solution
Signature
AskNumberOfSectors()
Returns: Return type: int New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskResultDataType¶
-
Result.
AskResultDataType
¶ Ask result datatype
Signature
AskResultDataType(loadcaseIndex, iterationIndex, resultType)
Parameters: - loadcaseIndex (int) –
- iterationIndex (int) –
- resultType (
NXOpen.CAE.ResultType_Struct
) –
Returns: Return type: New in version NX6.0.3.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskResultLoadcaseValue¶
-
Result.
AskResultLoadcaseValue
¶ Ask load case description, value type and value for the input load case
Signature
AskResultLoadcaseValue(loadcaseIndex)
Parameters: loadcaseIndex (int) – load case Returns: a tuple Return type: A tuple consisting of (valueType, description, value). valueType is a NXOpen.CAE.ResultLoadcaseValueType
. description is a str. value is a float.New in version NX7.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskResultSections¶
-
Result.
AskResultSections
¶ Ask element ids and corresponding number of sections at which result is defined
Signature
AskResultSections(loadcaseIndex, iterationIndex, resultType)
Parameters: - loadcaseIndex (int) – load case
- iterationIndex (int) – iteration number
- resultType (
NXOpen.CAE.ResultType_Struct
) – result type
Returns: Return type: list of int
New in version NX6.0.3.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskResultTypes¶
-
Result.
AskResultTypes
¶ Returns an array of result types and descriptions available for a given loadcase and iteration
Signature
AskResultTypes(loadcaseIndex, iterationIndex)
Parameters: - loadcaseIndex (int) –
- iterationIndex (int) –
Returns: a tuple
Return type: A tuple consisting of (types, description). types is a list of
NXOpen.CAE.ResultType_Struct
. description is a list of str.New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
AskSectionDescription¶
-
Result.
AskSectionDescription
¶ Ask Section description provided section type
Signature
AskSectionDescription(sect)
Parameters: sect ( NXOpen.CAE.ResultSection
) – section typeReturns: Return type: str New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
Find¶
-
Result.
Find
¶ Returns a
NXOpen.CAE.BaseLoadcase
Signature
Find(journalIdentifier)
Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.TaggedObject
New in version NX7.5.0.
License requirements: None.
FindObject¶
-
Result.
FindObject
¶ Finds the
NXOpen.NXObject
with the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
GetLoadcases¶
-
Result.
GetLoadcases
¶ Ask the loadcases present in this result
Signature
GetLoadcases()
Returns: Return type: list of NXOpen.CAE.BaseLoadcase
New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
GetMeshes¶
-
Result.
GetMeshes
¶ Returns number of meshgoups and array of their objects in the loaded result.
Signature
GetMeshes()
Returns: Return type: list of NXOpen.CAE.PostMesh
New in version NX11.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
GetMeshesOfGivenDimension¶
-
Result.
GetMeshesOfGivenDimension
¶ Returns number of meshgoups and array of their objects of the given dimension in the loaded result.
Signature
GetMeshesOfGivenDimension(dimension)
Parameters: dimension (int) – The dimension of which mesh group names are queried Returns: Return type: list of NXOpen.CAE.PostMesh
New in version NX11.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
GetResultCoordinateSystemDefinition¶
-
Result.
GetResultCoordinateSystemDefinition
¶ Returns definitions of a result coordinate system
Signature
GetResultCoordinateSystemDefinition(id)
Parameters: id (int) – Returns: a tuple Return type: A tuple consisting of (type, origin, matrix). type is a NXOpen.CAE.ResultCoordinateSystem
. returns any ofNXOpen.CAE.ResultCoordinateSystem.SelectRectangular
,NXOpen.CAE.ResultCoordinateSystem.SelectCylindrical
,NXOpen.CAE.ResultCoordinateSystem.SelectSpherical
origin is aNXOpen.Point3d
. matrix is aNXOpen.Matrix3x3
.New in version NX8.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
GetResultCoordinateSystems¶
-
Result.
GetResultCoordinateSystems
¶ Returns coordinate system IDs defined in the result
Signature
GetResultCoordinateSystems()
Returns: Return type: list of int New in version NX8.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
IsResultTypeComplex¶
-
Result.
IsResultTypeComplex
¶ Ask whether a result type is complex or not
Signature
IsResultTypeComplex(loadcaseIndex, iterationIndex, resultType)
Parameters: - loadcaseIndex (int) –
- iterationIndex (int) –
- resultType (
NXOpen.CAE.ResultType_Struct
) –
Returns: Return type: bool
New in version NX6.0.3.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”) OR sc_results_viewer (” Simcenter Results Viewer”)
Print¶
-
Result.
Print
¶ Prints a representation of this object to the system log file.
Signature
Print()
New in version NX3.0.0.
License requirements: None.
SetName¶
-
Result.
SetName
¶ Sets the custom name of the object.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Signature
SetName(name)
Parameters: name (str) – New in version NX3.0.0.
License requirements: None.