public interface ResultAccess extends TaggedObject
Result
.
ResultParameters
ResultManager
to create an ResultAccess
.
ResultParameters.getUnit()
Modifier and Type | Interface and Description |
---|---|
static class |
ResultAccess.AskElementNodalResultAllComponentsData
This class holds the data returned from
askElementNodalResultAllComponents(int) |
static class |
ResultAccess.AskElementNodalResultData
This class holds the data returned from
askElementNodalResult(int) |
static class |
ResultAccess.AskMinMaxLocationData
This class holds the data returned from
askMinMaxLocation() |
static class |
ResultAccess.AskNMinMaxLocationData
This class holds the data returned from
askNMinMaxLocation(int) |
static class |
ResultAccess.AskResultComponentsData
This class holds the data returned from
askResultComponents() |
Modifier and Type | Method and Description |
---|---|
Result.DataType |
askCurrentResultDataType()
Returns the result type for the current result state defined by
ResultParameters
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX6.0.2 |
double |
askElementEdgeNodalResult(int elementIndex,
int edgeIndex,
int nodeIndex)
Ask current component value at a specified element, edge and node index.
|
double[] |
askElementEdgeNodalResultAllComponents(int elementIndex,
int edgeIndex,
int nodeIndex)
Ask all component values at a specified element index, edge index, node index.
|
double |
askElementEdgeResult(int elementIndex,
int edgeIndex)
Ask current component value at a specified element and edge index.
|
double[] |
askElementEdgeResultAllComponents(int elementIndex,
int edgeIndex)
Ask all component values at a specified element index, edge index.
|
double |
askElementFaceNodalResult(int elementIndex,
int faceIndex,
int nodeIndex)
Ask current component value at a specified element, face and node index.
|
double[] |
askElementFaceNodalResultAllComponents(int elementIndex,
int faceIndex,
int nodeIndex)
Ask all component values at a specified element index, face index, node index.
|
double |
askElementFaceResult(int elementIndex,
int faceIndex)
Ask current component value at a specified element and face index.
|
double[] |
askElementFaceResultAllComponents(int elementIndex,
int faceIndex)
Ask all component values at a specified element index, face index.
|
ResultAccess.AskElementNodalResultData |
askElementNodalResult(int elementIndex)
Ask element nodal result at a specified element index
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
double |
askElementNodalResult(int elementIndex,
int nodeIndex)
Ask current component value at a specified element index and node index
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
ResultAccess.AskElementNodalResultAllComponentsData |
askElementNodalResultAllComponents(int elementIndex)
Ask element nodal result at a specified element index
Use
askResultComponents() to query type of components
All values will be returned as a single dimensional array. |
ResultAccess.AskElementNodalResultAllComponentsData |
askElementNodalResultAllComponents(int elementIndex,
int nodeIndex)
Ask element nodal result at a specified element index, node index
Use
askElementNodalResultAllComponents(int) to query all type of components
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX11.0.0 |
double |
askElementResult(int elementIndex)
Ask current component value at a specified element index.
|
double[] |
askElementResult(int[] elementIndices)
Ask current component value at a specified element indices.
|
double[] |
askElementResultAllComponents(int elementIndex)
Ask all component values at a specified element index
Use
askResultComponents() to query type of components
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX6.0.2 |
double |
askMaximum()
Ask maximum value of current result state defined by
ResultParameters
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX6.0.2 |
double |
askMinimum()
Ask minimum value of current result state defined by
ResultParameters
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX6.0.2 |
ResultAccess.AskMinMaxLocationData |
askMinMaxLocation()
Ask Min and Max value of current result state defined by
ResultParameters
If the Result.Location is nodal or elemental then ID will be node and element respectively. |
ResultAccess.AskNMinMaxLocationData |
askNMinMaxLocation(int numExtreme)
Ask for the N extreme Min and Max values and the location of current result state defined by
ResultParameters . |
double |
askNodalResult(int nodeIndex)
Ask current component value at a specified node index
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
double[] |
askNodalResult(int[] nodeIndices)
Ask current component value at a specified node indices
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
double[] |
askNodalResultAllComponents(int nodeIndex)
Ask all component values at a specified node index
Use
askResultComponents() to query type of components
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX6.0.2 |
double |
askResultAtLocation(Point3d location)
Ask current component value at a specified location.
|
double[] |
askResultAtLocationAllComponents(Point3d position)
Ask all component values at a specified position.
|
ResultAccess.AskResultComponentsData |
askResultComponents()
Return all results components for the current result state defined by
ResultParameters
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX6.0.2 |
ResultParameters |
getParameters()
Returns the
ResultParameters which defines the current result state. |
Result |
getResult()
Returns the
Result which defines this result Access object
The Result can be queried in order to set result state in
ResultParameters
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX6.0.2 |
boolean |
isFullyAveraged()
Is result fully averaged
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
boolean[] |
isResultDefined(int[] indices)
Returns true if a result is defined for each node or element index, If the
Result.Location is Nodal
then input indices are expected to be for nodes, for Elemental and ElementNodal the input indices are expected to be for elements
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") Created in NX8.5.0 |
boolean[] |
isResultDefined(int[] entityIndices,
int[] subentityIndices)
Returns true if a result is defined for element face/edge or element face/edge nodal result.
|
void |
setParameters(ResultParameters resultParameters)
Sets
ResultParameters . |
printTestData, printTestData, tag, tagValue
Result getResult() throws NXException, RemoteException
Result
which defines this result Access object
The Result
can be queried in order to set result state in
ResultParameters
NXException
RemoteException
ResultParameters getParameters() throws NXException, RemoteException
ResultParameters
which defines the current result state.
ResultParameters
can be modified but these changes will only take
affect after setParameters(nxopen.cae.ResultParameters)
is called.
NXException
RemoteException
void setParameters(ResultParameters resultParameters) throws NXException, RemoteException
ResultParameters
. This will validate any inappropiate settings.
If the input is not valid it will revert back to previous settings
resultParameters
- NXException
RemoteException
double askMinimum() throws NXException, RemoteException
ResultParameters
NXException
RemoteException
double askMaximum() throws NXException, RemoteException
ResultParameters
NXException
RemoteException
ResultAccess.AskNMinMaxLocationData askNMinMaxLocation(int numExtreme) throws NXException, RemoteException
ResultParameters
.
Result.Location
will return where the result is defined.
If it is an element-nodal result subIDs will be filled with node index and IDs will contain
element index. For all other cases subIDs will be 0.
numExtreme
- NXException
RemoteException
ResultAccess.AskMinMaxLocationData askMinMaxLocation() throws NXException, RemoteException
ResultParameters
If the Result.Location
is nodal or elemental then ID will be node and element respectively.
If it is an element-nodal result then subIDs will be node at which extreme value happens.
NXException
RemoteException
boolean[] isResultDefined(int[] indices) throws NXException, RemoteException
Result.Location
is Nodal
then input indices are expected to be for nodes, for Elemental and ElementNodal the input indices are expected to be for elements
indices
- NXException
RemoteException
boolean[] isResultDefined(int[] entityIndices, int[] subentityIndices) throws NXException, RemoteException
entityIndices
- element/node index will vary from 1 to N (where N is number of elements/nodes)subentityIndices
- Face/edge index will vary from 0 to n-1 where, n is the number of faces/edges on element.NXException
RemoteException
double askNodalResult(int nodeIndex) throws NXException, RemoteException
nodeIndex
- NXException
RemoteException
double[] askNodalResult(int[] nodeIndices) throws NXException, RemoteException
nodeIndices
- NXException
RemoteException
double[] askNodalResultAllComponents(int nodeIndex) throws NXException, RemoteException
askResultComponents()
to query type of components
nodeIndex
- NXException
RemoteException
double askElementResult(int elementIndex) throws NXException, RemoteException
elementIndex
- NXException
RemoteException
double[] askElementResult(int[] elementIndices) throws NXException, RemoteException
elementIndices
- NXException
RemoteException
double[] askElementResultAllComponents(int elementIndex) throws NXException, RemoteException
askResultComponents()
to query type of components
elementIndex
- NXException
RemoteException
ResultAccess.AskElementNodalResultData askElementNodalResult(int elementIndex) throws NXException, RemoteException
elementIndex
- NXException
RemoteException
ResultAccess.AskElementNodalResultAllComponentsData askElementNodalResultAllComponents(int elementIndex) throws NXException, RemoteException
askResultComponents()
to query type of components
All values will be returned as a single dimensional array. The array can be addressed
as index = node_index*numComponents + component_index
elementIndex
- NXException
RemoteException
double askResultAtLocation(Point3d location) throws NXException, RemoteException
location
- NXException
RemoteException
double[] askResultAtLocationAllComponents(Point3d position) throws NXException, RemoteException
askResultComponents()
to query type of components.
The result value will be interpolated at the given location
position
- NXException
RemoteException
Result.DataType askCurrentResultDataType() throws NXException, RemoteException
ResultParameters
NXException
RemoteException
ResultAccess.AskResultComponentsData askResultComponents() throws NXException, RemoteException
ResultParameters
NXException
RemoteException
boolean isFullyAveraged() throws NXException, RemoteException
NXException
RemoteException
double askElementFaceResult(int elementIndex, int faceIndex) throws NXException, RemoteException
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
faceIndex
- face index ranges from 0 to N-1 (where N is number of faces) Result.askNumFacesOnElement(int)
NXException
RemoteException
double askElementEdgeResult(int elementIndex, int edgeIndex) throws NXException, RemoteException
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
edgeIndex
- edge index ranges from 0 to N-1 (where N is number of edges) Result.askNumEdgesOnElement(int)
NXException
RemoteException
double askElementFaceNodalResult(int elementIndex, int faceIndex, int nodeIndex) throws NXException, RemoteException
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
faceIndex
- face index ranges from 0 to N-1 (where N is number of faces) Result.askNumFacesOnElement(int)
nodeIndex
- node index ranges from 1 to N (number of nodes) Result.askNumNodes()
NXException
RemoteException
double askElementEdgeNodalResult(int elementIndex, int edgeIndex, int nodeIndex) throws NXException, RemoteException
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
edgeIndex
- edge index ranges from 0 to N-1 (where N is number of edges) Result.askNumEdgesOnElement(int)
nodeIndex
- node index ranges from 1 to N (number of nodes) Result.askNumNodes()
NXException
RemoteException
double[] askElementFaceResultAllComponents(int elementIndex, int faceIndex) throws NXException, RemoteException
askElementFaceResultAllComponents(int, int)
to query all components
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
faceIndex
- face index ranges from 0 to N-1 (where N is number of faces) Result.askNumFacesOnElement(int)
NXException
RemoteException
double[] askElementEdgeResultAllComponents(int elementIndex, int edgeIndex) throws NXException, RemoteException
askElementFaceResultAllComponents(int, int)
to query all components
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
edgeIndex
- edge index ranges from 0 to N-1 (where N is number of edges) Result.askNumEdgesOnElement(int)
NXException
RemoteException
double[] askElementFaceNodalResultAllComponents(int elementIndex, int faceIndex, int nodeIndex) throws NXException, RemoteException
askElementFaceNodalResultAllComponents(int, int, int)
to all components
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
faceIndex
- face index ranges from 0 to N-1 (whre N is number of faces) Result.askNumFacesOnElement(int)
nodeIndex
- node index ranges from 1 to N (number of nodes) Result.askNumNodes()
NXException
RemoteException
double[] askElementEdgeNodalResultAllComponents(int elementIndex, int edgeIndex, int nodeIndex) throws NXException, RemoteException
askElementEdgeNodalResultAllComponents(int, int, int)
to query all components
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
edgeIndex
- edge index ranges from 0 to N-1 (whre N is number of edges) Result.askNumEdgesOnElement(int)
nodeIndex
- node index ranges from 1 to N (number of nodes) Result.askNumNodes()
NXException
RemoteException
double askElementNodalResult(int elementIndex, int nodeIndex) throws NXException, RemoteException
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
nodeIndex
- node index ranges from 1 to N (number of nodes) Result.askNumNodes()
NXException
RemoteException
ResultAccess.AskElementNodalResultAllComponentsData askElementNodalResultAllComponents(int elementIndex, int nodeIndex) throws NXException, RemoteException
askElementNodalResultAllComponents(int)
to query all type of components
elementIndex
- element index ranges from 1 to N (where N is number of elements) Result.askNumElements()
nodeIndex
- node index ranges from 1 to N (number of nodes) Result.askNumNodes()
NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.