NX Open C++ Reference Guide
|
Represents an NX part of type .fem. More...
Public Types | |
enum | UseAllBodies { UseAllBodiesFalse, UseAllBodiesTrue } |
Used to specify whether all bodies should be used while creating the FEMMain object. More... | |
enum | UseBodiesOption { UseBodiesOptionSelectedBodies, UseBodiesOptionVisibleBodies, UseBodiesOptionAllBodies } |
Used to specify the option of specifying bodies to use from the CAD Part while creating the FEMMain object. More... | |
Public Member Functions | |
void | BodyDelete (NXOpen::Body *body) |
DELETE on polygon body. | |
void | BodyRecreateNew (NXOpen::Body *body) |
RECREATE NEW on polygon body. | |
void | BodyRecreateUpdate (NXOpen::Body *body) |
RECREATE UPDATE on polygon body. | |
NXOpen::CAE::EdgeSticherBuilder * | CreateEdgeSticherBuilder () |
Creates a CAE::EdgeSticherBuilder. | |
void | CreatePolygonBody (NXOpen::Body *body) |
CREATE POLYGON BODY on excluded ug tag. | |
NXOpen::CAE::UnStitchEdgeBuilder * | CreateUnStitchEdgeBuilder () |
Creates a CAE::UnStitchEdgeBuilder. | |
void | FinalizeCreation (NXOpen::Part *cadPart, const NXString &idealizedPartName, NXOpen::CAE::FemPart::UseAllBodies useAllBodiesFlag, const std::vector< NXOpen::Body * > &bodies, NXOpen::CAE::FemSynchronizeOptions *geometrySyncOptions, const NXString &solverTypeName, const NXString &analysisTypeType, std::vector< NXString > &description) |
Finalizes the creation of the fem part file. | |
void | FinalizeCreation (NXOpen::Part *cadPart, const NXString &idealizedPartName, NXOpen::CAE::FemPart::UseBodiesOption useBodiesOption, const std::vector< NXOpen::Body * > &bodies, NXOpen::CAE::FemSynchronizeOptions *geometrySyncOptions, const NXString &solverTypeName, const NXString &analysisTypeType, std::vector< NXString > &description) |
Finalizes the creation of the fem part file. | |
void | GetGeometryData (NXOpen::CAE::FemPart::UseBodiesOption *useBodiesOption, std::vector< NXOpen::Body * > &listOfBodies, NXOpen::CAE::FemSynchronizeOptions **psyncData) |
Gets geometry data associated with the fem part. | |
void | GetMeshPreferences (NXOpen::NXColor **tinyEdgeColor, double *snapTolerance, int *projectNodesToCadOption, double *projectionTolerance, int *refineTessellation) |
Returns the mesh preferences data associated with the fem part. | |
NXOpen::Part * | IdealizedPart () |
Returns the idealized part associated with the fem part. | |
NXOpen::Part * | MasterCadPart () |
Returns the master cad part associated with the fem part. | |
NXOpen::CAE::MeshPointCollection * | MeshPoints () |
Returns the meshpoint collector collection belonging to the part Created in NX3.0.0. | |
NXOpen::CAE::FemSynchronizeOptions * | NewFemSynchronizeOptions () |
Creates a CAE::FemSynchronizeOptions . | |
void | SetGeometryData (bool useAllBodies, const std::vector< NXOpen::Body * > &listOfBodies, NXOpen::CAE::FemSynchronizeOptions *psyncData) |
Sets the geometry data associated with the fem part This method is deprecated. | |
void | SetGeometryData (NXOpen::CAE::FemPart::UseBodiesOption useBodiesOption, const std::vector< NXOpen::Body * > &listOfBodies, NXOpen::CAE::FemSynchronizeOptions *psyncData) |
Sets the geometry data associated with the fem part. | |
void | SetMeshPreferences (NXOpen::NXColor *tinyEdgeColor, double snapTolerance, int projectNodesToCadOption, double projectionTolerance, int refineTessellation) |
Sets the mesh preferences data associated with the fem part. |
Represents an NX part of type .fem.
Use the PartCollection class to load or create a part.
Created in NX4.0.0.
Used to specify the option of specifying bodies to use from the CAD Part while creating the FEMMain object.
void NXOpen::CAE::FemPart::BodyDelete | ( | NXOpen::Body * | body | ) |
DELETE on polygon body.
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
body | body |
void NXOpen::CAE::FemPart::BodyRecreateNew | ( | NXOpen::Body * | body | ) |
RECREATE NEW on polygon body.
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
body | body |
void NXOpen::CAE::FemPart::BodyRecreateUpdate | ( | NXOpen::Body * | body | ) |
RECREATE UPDATE on polygon body.
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
body | body |
Creates a CAE::EdgeSticherBuilder.
void NXOpen::CAE::FemPart::CreatePolygonBody | ( | NXOpen::Body * | body | ) |
CREATE POLYGON BODY on excluded ug tag.
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
body | body |
Creates a CAE::UnStitchEdgeBuilder.
void NXOpen::CAE::FemPart::FinalizeCreation | ( | NXOpen::Part * | cadPart, |
const NXString & | idealizedPartName, | ||
NXOpen::CAE::FemPart::UseAllBodies | useAllBodiesFlag, | ||
const std::vector< NXOpen::Body * > & | bodies, | ||
NXOpen::CAE::FemSynchronizeOptions * | geometrySyncOptions, | ||
const NXString & | solverTypeName, | ||
const NXString & | analysisTypeType, | ||
std::vector< NXString > & | description | ||
) |
Finalizes the creation of the fem part file.
This method should be called immediately after creating the fem part file. This method should be called only once for each sim part file. The second call to the method will raise an error.
This method is deprecated. Use CAE::FemPart::FinalizeCreation that takes in a use bodies option instead.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
cadPart | the cad part to be associated with the fem part |
idealizedPartName | the name of the idealized part to be created NOTE: The full Unicode character set is not supported for this parameter. |
useAllBodiesFlag | The fem refers to all bodies in the cad part if this parameter is set to CAE::FemPart::UseAllBodiesTrue . |
bodies | the bodies to be used |
geometrySyncOptions | geometry sync options |
solverTypeName | the name of the solver. Refer to NX help for more information NOTE: The full Unicode character set is not supported for this parameter. |
analysisTypeType | the name of the analysis type. Refer to NX help for more information NOTE: The full Unicode character set is not supported for this parameter. |
description | description NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAE::FemPart::FinalizeCreation | ( | NXOpen::Part * | cadPart, |
const NXString & | idealizedPartName, | ||
NXOpen::CAE::FemPart::UseBodiesOption | useBodiesOption, | ||
const std::vector< NXOpen::Body * > & | bodies, | ||
NXOpen::CAE::FemSynchronizeOptions * | geometrySyncOptions, | ||
const NXString & | solverTypeName, | ||
const NXString & | analysisTypeType, | ||
std::vector< NXString > & | description | ||
) |
Finalizes the creation of the fem part file.
This method should be called immediately after creating the fem part file. This method should be called only once for each sim part file. The second call to the method will raise an error.
Created in NX7.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
cadPart | the cad part to be associated with the fem part |
idealizedPartName | the name of the idealized part to be created NOTE: The full Unicode character set is not supported for this parameter. |
useBodiesOption | The option to specify bodies to use from the cad part while creating the fem part |
bodies | the bodies to be used |
geometrySyncOptions | geometry sync options |
solverTypeName | the name of the solver. Refer to NX help for more information NOTE: The full Unicode character set is not supported for this parameter. |
analysisTypeType | the name of the analysis type. Refer to NX help for more information NOTE: The full Unicode character set is not supported for this parameter. |
description | description NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAE::FemPart::GetGeometryData | ( | NXOpen::CAE::FemPart::UseBodiesOption * | useBodiesOption, |
std::vector< NXOpen::Body * > & | listOfBodies, | ||
NXOpen::CAE::FemSynchronizeOptions ** | psyncData | ||
) |
Gets geometry data associated with the fem part.
Created in NX7.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
useBodiesOption | Flag if all were selected |
listOfBodies | Array of tags of selected bodies |
psyncData | Syncrhonize options object |
void NXOpen::CAE::FemPart::GetMeshPreferences | ( | NXOpen::NXColor ** | tinyEdgeColor, |
double * | snapTolerance, | ||
int * | projectNodesToCadOption, | ||
double * | projectionTolerance, | ||
int * | refineTessellation | ||
) |
Returns the mesh preferences data associated with the fem part.
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
tinyEdgeColor | Tiny edge color |
snapTolerance | Snap Tolerance |
projectNodesToCadOption | Project nodes to CAD |
projectionTolerance | Projection tolerance |
refineTessellation | Refine tessellation 0 or 1 |
Returns the idealized part associated with the fem part.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Returns the master cad part associated with the fem part.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Returns the meshpoint collector collection belonging to the part
Created in NX3.0.0.
Creates a CAE::FemSynchronizeOptions .
void NXOpen::CAE::FemPart::SetGeometryData | ( | bool | useAllBodies, |
const std::vector< NXOpen::Body * > & | listOfBodies, | ||
NXOpen::CAE::FemSynchronizeOptions * | psyncData | ||
) |
Sets the geometry data associated with the fem part
This method is deprecated.
Use CAE::FemPart::SetGeometryData that takes in a use bodies option instead.
Created in NX6.0.2.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
useAllBodies | Flag if all were selected |
listOfBodies | Array of tags of selected bodies |
psyncData | Syncrhonize options object |
void NXOpen::CAE::FemPart::SetGeometryData | ( | NXOpen::CAE::FemPart::UseBodiesOption | useBodiesOption, |
const std::vector< NXOpen::Body * > & | listOfBodies, | ||
NXOpen::CAE::FemSynchronizeOptions * | psyncData | ||
) |
Sets the geometry data associated with the fem part.
Created in NX7.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
useBodiesOption | Flag if all were selected |
listOfBodies | Array of tags of selected bodies |
psyncData | Syncrhonize options object |
void NXOpen::CAE::FemPart::SetMeshPreferences | ( | NXOpen::NXColor * | tinyEdgeColor, |
double | snapTolerance, | ||
int | projectNodesToCadOption, | ||
double | projectionTolerance, | ||
int | refineTessellation | ||
) |
Sets the mesh preferences data associated with the fem part.
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
tinyEdgeColor | Tiny edge color |
snapTolerance | Snap Tolerance |
projectNodesToCadOption | Project nodes to CAD |
projectionTolerance | Projection tolerance |
refineTessellation | Refine tessellation 0 or 1 |