NX Open C++ Reference Guide
|
This class provides interfaces to query analysis results.
More...
Classes | |
struct | Averaging |
Averaging structure to specify averaging options. More... | |
struct | DeformationParameters |
Deformation parameter structure to specify complete result state for the deformed shape This structure has been replaced by NXOpen::CAE::DeformationParameters More... | |
struct | ElementValue |
Element-value structure to specify element value options. More... | |
struct | ResultBasicUnit |
The basic units system for a result. More... | |
struct | ResultParameters |
Result parameter structure to specify complete result state for the color display This structure has been replaced by NXOpen::CAE::ResultParameters More... | |
struct | ResultSection |
Result Section structure to specify a result section for beams and shells. More... | |
struct | Type |
Result type structure to specify a result dataset. More... | |
struct | VelocityParameters |
Velociy parameter structure to specify result state for the velocity field used in streamline extraction. More... | |
Public Member Functions | |
int | AskElementIndex (int elementLabel) |
Ask element index of a given element user label. More... | |
int | AskElementLabel (int elementIndex) |
Ask element user label of a given element index. More... | |
void | AskElementNodes (int elementIndex, std::vector< int > &nodeIndex) |
Asks for the nodes given an element Created in NX6.0.2. More... | |
NXOpen::CAE::ElementTypes::Shape | AskElementShape (int elementIndex) |
Ask element shape given an element index. More... | |
std::vector< NXString > | AskIterations (int loadcaseIndex) |
Number of iterations available for a given loadcase and their descriptions Iteration index varies from 0 to N-1 (number of iterations) More... | |
std::vector< NXString > | AskLoadcases () |
Number of loadcases available in the result file and their descriptions. More... | |
std::vector< NXOpen::Point3d > | AskNodeCoordinates (const std::vector< int > &nodeIndex) |
Asks for the coordinates of a node array. More... | |
int | AskNodeIndex (int nodeLabel) |
Ask node index of a given node user label. More... | |
void | AskNodeIndicesOnElementEdge (int elementIndex, int edgeIndex, std::vector< int > &nodeIndices) |
Returns number of nodes and node Indices on given element index and edge index. More... | |
void | AskNodeIndicesOnElementFace (int elementIndex, int faceIndex, std::vector< int > &nodeIndices) |
Returns number of nodes and node Indices on given element index and face index. More... | |
int | AskNodeLabel (int nodeIndex) |
Ask node user label of a given node index. More... | |
int | AskNumberOfSectors () |
Returns number of sectors for cyclic symmetric solution. More... | |
int | AskNumEdgesOnElement (int elementIndex) |
Returns number of edges on given element index. More... | |
int | AskNumElements () |
Ask number of elements in the model Element index varies from 0 to N-1 (number of elements) More... | |
void | AskNumElementsOfGroup (NXOpen::CAE::Result::GroupContainer type, int groupIndex, std::vector< int > &elementIndex) |
Returns an array of elements indices for a given group Group index range from 0 to N-1 (number of groups) More... | |
int | AskNumFacesOnElement (int elementIndex) |
Returns number of faces on given element index. More... | |
int | AskNumGroupsInContainer (NXOpen::CAE::Result::GroupContainer type) |
Returns the number of groups available in the model of type NXOpen::CAE::Result::GroupContainer . More... | |
int | AskNumIterations (int loadcaseIndex) |
Number of iterations available for a given loadcase. More... | |
int | AskNumLoadcases () |
Number of loadcases available in the result file. More... | |
int | AskNumNodes () |
Ask number of nodes in the model Node index varies from 1 to N (number of nodes) More... | |
NXOpen::CAE::Result::DataType | AskResultDataType (int loadcaseIndex, int iterationIndex, const NXOpen::CAE::Result::Type &resultType) |
Ask result datatype. More... | |
NXOpen::CAE::Result::LoadcaseValueType | AskResultLoadcaseValue (int loadcaseIndex, NXString *description, double *value) |
Ask load case description, value type and value for the input load case. More... | |
void | AskResultSections (int loadcaseIndex, int iterationIndex, const NXOpen::CAE::Result::Type &resultType, std::vector< int > §ionNums) |
Ask element ids and corresponding number of sections at which result is defined Created in NX6.0.3. More... | |
void | AskResultTypes (int loadcaseIndex, int iterationIndex, std::vector< NXOpen::CAE::Result::Type > &types, std::vector< NXString > &description) |
Returns an array of result types and descriptions available for a given loadcase and iteration Created in NX6.0.2. More... | |
NXString | AskSectionDescription (NXOpen::CAE::Result::Section sect) |
Ask Section description provided section type. More... | |
NXOpen::TaggedObject * | Find (const NXString &journalIdentifier) |
Returns a NXOpen::CAE::BaseLoadcase. More... | |
NXOpen::TaggedObject * | Find (const char *journalIdentifier) |
Returns a NXOpen::CAE::BaseLoadcase. More... | |
std::vector < NXOpen::CAE::BaseLoadcase * > | GetLoadcases () |
Ask the loadcases present in this result. More... | |
void | GetMeshes (std::vector< NXOpen::CAE::PostMesh * > &meshes) |
Returns number of meshgoups and array of their objects in the loaded result. More... | |
void | GetMeshesOfGivenDimension (int dimension, std::vector< NXOpen::CAE::PostMesh * > &meshes) |
Returns number of meshgoups and array of their objects of the given dimension in the loaded result. More... | |
void | GetResultCoordinateSystemDefinition (int id, NXOpen::CAE::Result::CoordinateSystem *type, NXOpen::Point3d *origin, NXOpen::Matrix3x3 *matrix) |
Returns definitions of a result coordinate system Created in NX8.0.1. More... | |
std::vector< int > | GetResultCoordinateSystems () |
Returns coordinate system IDs defined in the result. More... | |
bool | IsResultTypeComplex (int loadcaseIndex, int iterationIndex, const NXOpen::CAE::Result::Type &resultType) |
Ask whether a result type is complex or not. More... | |
Public Member Functions inherited from NXOpen::NXObject | |
NXOpen::AttributeIterator * | CreateAttributeIterator () |
Create an attribute iterator. More... | |
void | DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type) |
Deletes all attributes of a specific type. More... | |
void | DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option) |
Deletes all attributes of a specific type with the option to update or not. More... | |
void | DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title) |
Deletes an attribute by type and title. More... | |
void | DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title) |
Deletes an attribute by type and title. More... | |
void | DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title, NXOpen::Update::Option option) |
Deletes an attribute by type and title with the option to update or not. More... | |
void | DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title, NXOpen::Update::Option option) |
Deletes an attribute by type and title with the option to update or not. More... | |
void | DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const NXString &title, bool deleteEntireArray, NXOpen::Update::Option option) |
Deletes the first attribute encountered with the given Type, Title. More... | |
void | DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const char *title, bool deleteEntireArray, NXOpen::Update::Option option) |
Deletes the first attribute encountered with the given Type, Title. More... | |
void | DeleteUserAttributes (NXOpen::AttributeIterator *iterator, NXOpen::Update::Option option) |
Deletes the attributes on the object, if any, that satisfy the given iterator Created in NX8.0.0. More... | |
void | DeleteUserAttributes (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option) |
Deletes the attributes encountered with the given Type with option to update or not. More... | |
virtual NXOpen::INXObject * | FindObject (const NXString &journalIdentifier) |
Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More... | |
virtual NXOpen::INXObject * | FindObject (const char *journalIdentifier) |
Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More... | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetAttributeTitlesByType (NXOpen::NXObject::AttributeType type) |
Gets all the attribute titles of a specific type. More... | |
bool | GetBooleanUserAttribute (const NXString &title, int index) |
Gets a boolean attribute by Title and array Index. More... | |
bool | GetBooleanUserAttribute (const char *title, int index) |
Gets a boolean attribute by Title and array Index. More... | |
NXOpen::NXObject::ComputationalTime | GetComputationalTimeUserAttribute (const NXString &title, int index) |
Gets a time attribute by Title and array Index. More... | |
NXOpen::NXObject::ComputationalTime | GetComputationalTimeUserAttribute (const char *title, int index) |
Gets a time attribute by Title and array Index. More... | |
int | GetIntegerAttribute (const NXString &title) |
Gets an integer attribute by title. More... | |
int | GetIntegerAttribute (const char *title) |
Gets an integer attribute by title. More... | |
int | GetIntegerUserAttribute (const NXString &title, int index) |
Gets an integer attribute by Title and array Index. More... | |
int | GetIntegerUserAttribute (const char *title, int index) |
Gets an integer attribute by Title and array Index. More... | |
bool | GetNextUserAttribute (NXOpen::AttributeIterator *iterator, NXOpen::NXObject::AttributeInformation *info) |
Gets the next attribute encountered on the object, if any, that satisfies the given iterator. More... | |
NXString | GetPdmReferenceAttributeValue (const NXString &attributeTitle) |
Gets the value of PDM Reference attribute for given object. More... | |
NXString | GetPdmReferenceAttributeValue (const char *attributeTitle) |
Gets the value of PDM Reference attribute for given object. More... | |
double | GetRealAttribute (const NXString &title) |
Gets a real attribute by title. More... | |
double | GetRealAttribute (const char *title) |
Gets a real attribute by title. More... | |
double | GetRealUserAttribute (const NXString &title, int index) |
Gets a real attribute by Title and array Index. More... | |
double | GetRealUserAttribute (const char *title, int index) |
Gets a real attribute by Title and array Index. More... | |
NXString | GetReferenceAttribute (const NXString &title) |
Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More... | |
NXString | GetReferenceAttribute (const char *title) |
Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More... | |
NXString | GetStringAttribute (const NXString &title) |
Gets a string attribute value by title. More... | |
NXString | GetStringAttribute (const char *title) |
Gets a string attribute value by title. More... | |
NXString | GetStringUserAttribute (const NXString &title, int index) |
Gets a string attribute by Title and array Index. More... | |
NXString | GetStringUserAttribute (const char *title, int index) |
Gets a string attribute by Title and array Index. More... | |
NXString | GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const NXString &title) |
Gets a time attribute by title. More... | |
NXString | GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const char *title) |
Gets a time attribute by title. More... | |
NXString | GetTimeUserAttribute (const NXString &title, int index) |
Gets a time attribute by Title and array Index. More... | |
NXString | GetTimeUserAttribute (const char *title, int index) |
Gets a time attribute by Title and array Index. More... | |
NXOpen::NXObject::AttributeInformation | GetUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More... | |
NXOpen::NXObject::AttributeInformation | GetUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More... | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttribute (const NXString &title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type) |
Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More... | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttribute (const char *title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type) |
Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More... | |
NXString | GetUserAttributeAsString (const NXString &title, NXOpen::NXObject::AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given title, type and array index. More... | |
NXString | GetUserAttributeAsString (const char *title, NXOpen::NXObject::AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given title, type and array index. More... | |
int | GetUserAttributeCount (NXOpen::AttributeIterator *iterator) |
Gets the count of set attributes on the object, if any, that satisfy the given iterator. More... | |
int | GetUserAttributeCount (NXOpen::AttributeIterator *iterator, bool countArrayAsOneAttribute) |
Gets the count of set attributes on the object, if any, that satisfy the given iterator. More... | |
int | GetUserAttributeCount (NXOpen::NXObject::AttributeType type) |
Gets the count of set attributes on the object, if any, of the given type. More... | |
int | GetUserAttributeCount (NXOpen::NXObject::AttributeType type, bool includeUnset, bool countArrayAsOneAttribute) |
Gets the count of attributes on the object, if any, of the given type. More... | |
bool | GetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type) |
Determine the lock of the given attribute. More... | |
bool | GetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type) |
Determine the lock of the given attribute. More... | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttributes (NXOpen::AttributeIterator *iterator) |
Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. More... | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttributes () |
Gets all the attributes that have been set on the given object. More... | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttributes (bool includeUnset) |
Gets all the attributes of the given object. More... | |
std::vector < NXOpen::NXObject::AttributeInformation > | GetUserAttributes (bool includeUnset, bool addStringValues) |
Gets all the attributes of the given object. More... | |
std::vector< NXString > | GetUserAttributesAsStrings () |
Gets all the attributes that have been set on the given object. More... | |
int | GetUserAttributeSize (const NXString &title, NXOpen::NXObject::AttributeType type) |
Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More... | |
int | GetUserAttributeSize (const char *title, NXOpen::NXObject::AttributeType type) |
Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More... | |
std::vector< NXOpen::NXObject * > | GetUserAttributeSourceObjects () |
Returns an array of objects from which this object presents attributes. More... | |
bool | HasUserAttribute (NXOpen::AttributeIterator *iterator) |
Determines if an attribute exists on the object, that satisfies the given iterator. More... | |
bool | HasUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index) |
Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More... | |
bool | HasUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index) |
Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More... | |
virtual bool | IsOccurrence () |
Returns whether this object is an occurrence or not. More... | |
virtual NXString | JournalIdentifier () |
Returns the identifier that would be recorded in a journal for this object. More... | |
virtual NXString | Name () |
Returns the custom name of the object. More... | |
virtual NXOpen::Assemblies::Component * | OwningComponent () |
Returns the owning component, if this object is an occurrence. More... | |
virtual NXOpen::BasePart * | OwningPart () |
Returns the owning part of this object Created in NX3.0.0. More... | |
virtual void | Print () |
Prints a representation of this object to the system log file. More... | |
virtual NXOpen::INXObject * | Prototype () |
Returns the prototype of this object if it is an occurrence. More... | |
void | SetAttribute (const NXString &title, int value) |
Creates or modifies an integer attribute. More... | |
void | SetAttribute (const char *title, int value) |
Creates or modifies an integer attribute. More... | |
void | SetAttribute (const NXString &title, int value, NXOpen::Update::Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
void | SetAttribute (const char *title, int value, NXOpen::Update::Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
void | SetAttribute (const NXString &title, double value) |
Creates or modifies a real attribute. More... | |
void | SetAttribute (const char *title, double value) |
Creates or modifies a real attribute. More... | |
void | SetAttribute (const NXString &title, double value, NXOpen::Update::Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
void | SetAttribute (const char *title, double value, NXOpen::Update::Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
void | SetAttribute (const NXString &title, const NXString &value) |
Creates or modifies a string attribute. More... | |
void | SetAttribute (const char *title, const char *value) |
Creates or modifies a string attribute. More... | |
void | SetAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
void | SetAttribute (const char *title, const char *value, NXOpen::Update::Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
void | SetAttribute (const NXString &title) |
Creates or modifies a null attribute which is an attribute with a title and no value. More... | |
void | SetAttribute (const char *title) |
Creates or modifies a null attribute which is an attribute with a title and no value. More... | |
void | SetAttribute (const NXString &title, NXOpen::Update::Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
void | SetAttribute (const char *title, NXOpen::Update::Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
void | SetBooleanUserAttribute (const NXString &title, int index, bool value, NXOpen::Update::Option option) |
Creates or modifies a boolean attribute with the option to update or not. More... | |
void | SetBooleanUserAttribute (const char *title, int index, bool value, NXOpen::Update::Option option) |
Creates or modifies a boolean attribute with the option to update or not. More... | |
virtual void | SetName (const NXString &name) |
Sets the custom name of the object. More... | |
virtual void | SetName (const char *name) |
Sets the custom name of the object. More... | |
void | SetPdmReferenceAttribute (const NXString &attributeTitle, const NXString &attributeValue) |
Sets the value of PDM Reference attribute on the object. More... | |
void | SetPdmReferenceAttribute (const char *attributeTitle, const char *attributeValue) |
Sets the value of PDM Reference attribute on the object. More... | |
void | SetReferenceAttribute (const NXString &title, const NXString &value) |
Creates or modifies a string attribute which uses a reference string. More... | |
void | SetReferenceAttribute (const char *title, const char *value) |
Creates or modifies a string attribute which uses a reference string. More... | |
void | SetReferenceAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a string attribute which uses a reference string, with the option to update or not. More... | |
void | SetReferenceAttribute (const char *title, const char *value, NXOpen::Update::Option option) |
Creates or modifies a string attribute which uses a reference string, with the option to update or not. More... | |
void | SetTimeAttribute (const NXString &title, const NXString &value) |
Creates or modifies a time attribute. More... | |
void | SetTimeAttribute (const char *title, const char *value) |
Creates or modifies a time attribute. More... | |
void | SetTimeAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
void | SetTimeAttribute (const char *title, const char *value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
void | SetTimeUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
void | SetTimeUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
void | SetTimeUserAttribute (const NXString &title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
void | SetTimeUserAttribute (const char *title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
void | SetUserAttribute (const NXOpen::NXObject::AttributeInformation &info, NXOpen::Update::Option option) |
Creates or modifies an attribute with the option to update or not. More... | |
void | SetUserAttribute (const NXString &title, int index, int value, NXOpen::Update::Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
void | SetUserAttribute (const char *title, int index, int value, NXOpen::Update::Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
void | SetUserAttribute (const NXString &title, int index, double value, NXOpen::Update::Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
void | SetUserAttribute (const char *title, int index, double value, NXOpen::Update::Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
void | SetUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
void | SetUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
void | SetUserAttribute (const NXString &title, int index, NXOpen::Update::Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
void | SetUserAttribute (const char *title, int index, NXOpen::Update::Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
void | SetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type, bool lock) |
Lock or unlock the given attribute. More... | |
void | SetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type, bool lock) |
Lock or unlock the given attribute. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
This class provides interfaces to query analysis results.
To query results you must first understand how the results are structured. The basic structure is as follows
Results are divided into Load Cases(loadcase). Loadcase is a general term which could representand of the follow based on solution type
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
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 using NXOpen::CAE::Result::AskResultTypes
A Result type is defined by three parameters
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 using NXOpen::CAE::Result::AskNumElements . Elements are also organized in several groups (of type NXOpen::CAE::Result::GroupContainer ) 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
Created in NX5.0.0.
Result components.
Enumerator | |
---|---|
ComponentScalar |
scalar |
ComponentX |
x |
ComponentY |
y |
ComponentZ |
z |
ComponentMagnitude |
magnitude |
ComponentXx |
xx |
ComponentYy |
yy |
ComponentZz |
zz |
ComponentXy |
xy |
ComponentYz |
yz |
ComponentZx |
zx |
ComponentDeterminant |
determinant |
ComponentMean |
mean |
ComponentMaximumShear |
maximum shear |
ComponentMinimumPrincipal |
minimum principal |
ComponentMiddlePrincipal |
middle principal |
ComponentMaximumPrincipal |
maximum principal |
ComponentOctahedral |
octahedral |
ComponentVonMises |
von mises |
ComponentMembraneXX |
membrane xx |
ComponentMembraneYY |
membrane yy |
ComponentMembraneXY |
membrane xy |
ComponentBendingXX |
bending xx |
ComponentBendingYY |
bending yy |
ComponentBendingXY |
bending xy |
ComponentShearXZ |
shear xz |
ComponentShearYZ |
shear yz |
ComponentAxial |
axial |
ComponentBendingS |
bending s |
ComponentBendingT |
bending t |
ComponentTorsion |
torsion |
ComponentShearS |
shear s |
ComponentShearT |
shear t |
ComponentSpringDashpotForce |
No longer used; it means NXOpen::CAE::Result::ComponentSpringDashpotForceX in new format. |
ComponentSpringDashpotForceX |
spring dashpot force x |
ComponentSpringDashpotForceY |
spring dashpot force y |
ComponentSpringDashpotForceZ |
spring dashpot force z |
ComponentSpringDashpotMomentX |
spring dashpot moment x |
ComponentSpringDashpotMomentY |
spring dashpot moment y |
ComponentSpringDashpotMomentZ |
spring dashpot moment z |
ComponentScalar1 |
scalar1 |
ComponentScalar2 |
scalar2 |
ComponentScalar3 |
scalar3 |
ComponentScalar4 |
scalar4 |
ComponentScalar5 |
scalar5 |
ComponentScalar6 |
scalar6 |
ComponentScalar7 |
scalar7 |
ComponentScalar8 |
scalar8 |
ComponentScalar9 |
scalar9 |
ComponentScalar10 |
scalar10 |
ComponentScalar11 |
scalar11 |
ComponentScalar12 |
scalar12 |
ComponentWorstPrincipal |
worst principal |
types for different way of computing nodal result from element nodal result.
Coordinate systems.
Enumerator | |
---|---|
CoordinateSystemAbsoluteRectangular |
absolute rectangular |
CoordinateSystemAbsoluteCylindrical |
absolute cylindrical |
CoordinateSystemAbsoluteSpherical |
absolute spherical |
CoordinateSystemWorkRectangular |
work rectangular |
CoordinateSystemWorkCylindrical |
work cylindrical |
CoordinateSystemWorkSpherical |
work spherical |
CoordinateSystemLocal |
local |
CoordinateSystemMaterial |
Material coordinate system is applicable only when such coordinate systems are defined in the results model; if no material coordinate system is defined NXOpen::CAE::Result::CoordinateSystemAbsoluteRectangular will be used. |
CoordinateSystemSelectRectangular |
select rectangular |
CoordinateSystemSelectCylindrical |
select cylindrical |
CoordinateSystemSelectSpherical |
select spherical |
Result data types.
Enumerator | |
---|---|
DataTypeScalar |
scalar |
DataTypeVector |
vector |
DataTypeSixVector |
six vector |
DataTypeTensor |
tensor |
DataTypeElementResultantShell |
element resultant shell |
DataTypeElementResultantBeam |
element resultant beam |
DataTypeElementResultantSpringDashpot |
element resultant spring dashpot |
DataTypeSixScalars |
Applicable for NXOpen::CAE::Result::QuantitySolidLaminateFailureIndex. |
DataTypeThreeScalars |
three scalars |
DataTypeMultiScalar |
Multi scalar. |
methods for different way of computing discontinuities in element nodal results
The result file type.
The initial deformation selection type which will decide how the final calculations will happen after applying the initial deformation on the main deforamtion.
Enumerator | |
---|---|
InitialDeformationSelectionNone |
None. |
InitialDeformationSelectionDefault |
Default selection. |
InitialDeformationSelectionUserDefined |
Selection from the user. |
Value type for result load case.
Result quantities.
Result sections.
The result solution type.
This enumeration defines the methods that can be used when calculating absolute values for the following derived components of NXOpen::CAE::Result::DataTypeTensor NXOpen::CAE::Result::ComponentDeterminant , NXOpen::CAE::Result::ComponentMean , NXOpen::CAE::Result::ComponentMaximumShear , NXOpen::CAE::Result::ComponentMinimumPrincipal , NXOpen::CAE::Result::ComponentMiddlePrincipal , NXOpen::CAE::Result::ComponentMaximumPrincipal , NXOpen::CAE::Result::ComponentOctahedral.
NXOpen::CAE::Result::TensorDerivedAbsoluteAllComponents will make all tensor primary components (XX, YY, ZZ, XY, YZ, ZX) to absolute and then calculate derived component. NXOpen::CAE::Result::TensorDerivedAbsoluteDerivedComponent is absolute value of derived component without changing primary components.
Enumerator | |
---|---|
TensorDerivedAbsoluteAllComponents |
Absolute of primary components first. |
TensorDerivedAbsoluteDerivedComponent |
Absolute of current derived components. |
int NXOpen::CAE::Result::AskElementIndex | ( | int | elementLabel | ) |
Ask element index of a given element user label.
elementLabel | elementlabel |
int NXOpen::CAE::Result::AskElementLabel | ( | int | elementIndex | ) |
Ask element user label of a given element index.
elementIndex | element index ranges from 1 to N (number of elements) |
void NXOpen::CAE::Result::AskElementNodes | ( | int | elementIndex, |
std::vector< int > & | nodeIndex | ||
) |
Asks for the nodes given an element
Created in NX6.0.2.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer")
elementIndex | elementindex |
nodeIndex | nodeindex |
NXOpen::CAE::ElementTypes::Shape NXOpen::CAE::Result::AskElementShape | ( | int | elementIndex | ) |
Ask element shape given an element index.
elementIndex | Element Index |
std::vector<NXString> NXOpen::CAE::Result::AskIterations | ( | int | loadcaseIndex | ) |
Number of iterations available for a given loadcase and their descriptions Iteration index varies from 0 to N-1 (number of iterations)
loadcaseIndex | loadcaseindex |
std::vector<NXString> NXOpen::CAE::Result::AskLoadcases | ( | ) |
Number of loadcases available in the result file and their descriptions.
Loadcase index varies from 0 to N-1 (number of loadcases)
std::vector<NXOpen::Point3d> NXOpen::CAE::Result::AskNodeCoordinates | ( | const std::vector< int > & | nodeIndex | ) |
Asks for the coordinates of a node array.
nodeIndex | nodeindex |
int NXOpen::CAE::Result::AskNodeIndex | ( | int | nodeLabel | ) |
Ask node index of a given node user label.
nodeLabel | nodelabel |
void NXOpen::CAE::Result::AskNodeIndicesOnElementEdge | ( | int | elementIndex, |
int | edgeIndex, | ||
std::vector< int > & | nodeIndices | ||
) |
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.
Created in 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 | element index ranges from 1 to N (where N is number of elements) NXOpen::CAE::Result::AskNumElements |
edgeIndex | edge index ranges from 0 to N-1 (where N is number of edges) NXOpen::CAE::Result::AskNumEdgesOnElement |
nodeIndices | nodeindices |
void NXOpen::CAE::Result::AskNodeIndicesOnElementFace | ( | int | elementIndex, |
int | faceIndex, | ||
std::vector< int > & | nodeIndices | ||
) |
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.
Created in 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 | element index ranges from 1 to N (where N is number of elements) NXOpen::CAE::Result::AskNumElements |
faceIndex | face index ranges from 0 to N-1 (where N is number of faces) NXOpen::CAE::Result::AskNumFacesOnElement |
nodeIndices | nodeindices |
int NXOpen::CAE::Result::AskNodeLabel | ( | int | nodeIndex | ) |
Ask node user label of a given node index.
nodeIndex | node index ranges from 1 to N (number of nodes) |
int NXOpen::CAE::Result::AskNumberOfSectors | ( | ) |
Returns number of sectors for cyclic symmetric solution.
int NXOpen::CAE::Result::AskNumEdgesOnElement | ( | int | elementIndex | ) |
Returns number of edges on given element index.
elementIndex | element index ranges from 1 to N (where N is number of elements) NXOpen::CAE::Result::AskNumElements |
int NXOpen::CAE::Result::AskNumElements | ( | ) |
Ask number of elements in the model Element index varies from 0 to N-1 (number of elements)
void NXOpen::CAE::Result::AskNumElementsOfGroup | ( | NXOpen::CAE::Result::GroupContainer | type, |
int | groupIndex, | ||
std::vector< int > & | elementIndex | ||
) |
Returns an array of elements indices for a given group Group index range from 0 to N-1 (number of groups)
Created in 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 | type |
groupIndex | groupindex |
elementIndex | elementindex |
int NXOpen::CAE::Result::AskNumFacesOnElement | ( | int | elementIndex | ) |
Returns number of faces on given element index.
elementIndex | element index ranges from 1 to N (where N is number of elements) NXOpen::CAE::Result::AskNumElements |
int NXOpen::CAE::Result::AskNumGroupsInContainer | ( | NXOpen::CAE::Result::GroupContainer | type | ) |
Returns the number of groups available in the model of type NXOpen::CAE::Result::GroupContainer .
type | type |
int NXOpen::CAE::Result::AskNumIterations | ( | int | loadcaseIndex | ) |
Number of iterations available for a given loadcase.
loadcaseIndex | loadcaseindex |
int NXOpen::CAE::Result::AskNumLoadcases | ( | ) |
Number of loadcases available in the result file.
int NXOpen::CAE::Result::AskNumNodes | ( | ) |
Ask number of nodes in the model Node index varies from 1 to N (number of nodes)
NXOpen::CAE::Result::DataType NXOpen::CAE::Result::AskResultDataType | ( | int | loadcaseIndex, |
int | iterationIndex, | ||
const NXOpen::CAE::Result::Type & | resultType | ||
) |
Ask result datatype.
loadcaseIndex | loadcaseindex |
iterationIndex | iterationindex |
resultType | resulttype |
NXOpen::CAE::Result::LoadcaseValueType NXOpen::CAE::Result::AskResultLoadcaseValue | ( | int | loadcaseIndex, |
NXString * | description, | ||
double * | value | ||
) |
Ask load case description, value type and value for the input load case.
loadcaseIndex | load case |
description | description |
value | value |
void NXOpen::CAE::Result::AskResultSections | ( | int | loadcaseIndex, |
int | iterationIndex, | ||
const NXOpen::CAE::Result::Type & | resultType, | ||
std::vector< int > & | sectionNums | ||
) |
Ask element ids and corresponding number of sections at which result is defined
Created in NX6.0.3.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer")
loadcaseIndex | load case |
iterationIndex | iteration number |
resultType | result type |
sectionNums | sectionnums |
void NXOpen::CAE::Result::AskResultTypes | ( | int | loadcaseIndex, |
int | iterationIndex, | ||
std::vector< NXOpen::CAE::Result::Type > & | types, | ||
std::vector< NXString > & | description | ||
) |
Returns an array of result types and descriptions available for a given loadcase and iteration
Created in NX6.0.2.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer")
loadcaseIndex | loadcaseindex |
iterationIndex | iterationindex |
types | types |
description | description |
NXString NXOpen::CAE::Result::AskSectionDescription | ( | NXOpen::CAE::Result::Section | sect | ) |
Ask Section description provided section type.
sect | section type |
NXOpen::TaggedObject* NXOpen::CAE::Result::Find | ( | const NXString & | journalIdentifier | ) |
Returns a NXOpen::CAE::BaseLoadcase.
journalIdentifier | Journal identifier of the object |
NXOpen::TaggedObject* NXOpen::CAE::Result::Find | ( | const char * | journalIdentifier | ) |
Returns a NXOpen::CAE::BaseLoadcase.
journalIdentifier | Journal identifier of the object |
std::vector<NXOpen::CAE::BaseLoadcase *> NXOpen::CAE::Result::GetLoadcases | ( | ) |
Ask the loadcases present in this result.
void NXOpen::CAE::Result::GetMeshes | ( | std::vector< NXOpen::CAE::PostMesh * > & | meshes | ) |
Returns number of meshgoups and array of their objects in the loaded result.
Created in NX11.0.2.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer")
meshes | meshes |
void NXOpen::CAE::Result::GetMeshesOfGivenDimension | ( | int | dimension, |
std::vector< NXOpen::CAE::PostMesh * > & | meshes | ||
) |
Returns number of meshgoups and array of their objects of the given dimension in the loaded result.
Created in NX11.0.2.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer")
dimension | The dimension of which mesh group names are queried |
meshes | meshes |
void NXOpen::CAE::Result::GetResultCoordinateSystemDefinition | ( | int | id, |
NXOpen::CAE::Result::CoordinateSystem * | type, | ||
NXOpen::Point3d * | origin, | ||
NXOpen::Matrix3x3 * | matrix | ||
) |
Returns definitions of a result coordinate system
Created in NX8.0.1.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer")
id | id |
type | returns any of NXOpen::CAE::Result::CoordinateSystemSelectRectangular , NXOpen::CAE::Result::CoordinateSystemSelectCylindrical , NXOpen::CAE::Result::CoordinateSystemSelectSpherical |
origin | origin |
matrix | matrix |
std::vector<int> NXOpen::CAE::Result::GetResultCoordinateSystems | ( | ) |
Returns coordinate system IDs defined in the result.
bool NXOpen::CAE::Result::IsResultTypeComplex | ( | int | loadcaseIndex, |
int | iterationIndex, | ||
const NXOpen::CAE::Result::Type & | resultType | ||
) |
Ask whether a result type is complex or not.
loadcaseIndex | loadcaseindex |
iterationIndex | iterationindex |
resultType | resulttype |