NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::CAE::FemPart Class Reference

Represents an NX part of type .fem. More...

Inheritance diagram for NXOpen::CAE::FemPart:
NXOpen::CAE::BaseFemPart NXOpen::CAE::CaePart NXOpen::BasePart NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

List of all members.

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::EdgeSticherBuilderCreateEdgeSticherBuilder ()
 Creates a CAE::EdgeSticherBuilder.
void CreatePolygonBody (NXOpen::Body *body)
 CREATE POLYGON BODY on excluded ug tag.
NXOpen::CAE::UnStitchEdgeBuilderCreateUnStitchEdgeBuilder ()
 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::PartIdealizedPart ()
 Returns the idealized part associated with the fem part.
NXOpen::PartMasterCadPart ()
 Returns the master cad part associated with the fem part.
NXOpen::CAE::MeshPointCollectionMeshPoints ()
 Returns the meshpoint collector collection belonging to the part
Created in NX3.0.0.
NXOpen::CAE::FemSynchronizeOptionsNewFemSynchronizeOptions ()
 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.

Detailed Description

Represents an NX part of type .fem.


Use the PartCollection class to load or create a part.

Created in NX4.0.0.


Member Enumeration Documentation

Used to specify whether all bodies should be used while creating the FEMMain object.

Enumerator:
UseAllBodiesFalse 

Use specified bodies from the cad part.

UseAllBodiesTrue 

Use all bodies from the cad part.

Used to specify the option of specifying bodies to use from the CAD Part while creating the FEMMain object.

Enumerator:
UseBodiesOptionSelectedBodies 

Use selected bodies from the cad part.

UseBodiesOptionVisibleBodies 

Use all visible bodies from the cad part.

UseBodiesOptionAllBodies 

Use all bodies from the cad part.


Member Function Documentation

DELETE on polygon body.


Created in NX8.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters:
bodybody

RECREATE NEW on polygon body.


Created in NX8.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters:
bodybody

RECREATE UPDATE on polygon body.


Created in NX8.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters:
bodybody

Creates a CAE::EdgeSticherBuilder.

Returns:

Created in NX6.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

CREATE POLYGON BODY on excluded ug tag.


Created in NX8.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")

Parameters:
bodybody

Creates a CAE::UnStitchEdgeBuilder.

Returns:

Created in NX6.0.0.

License requirements : nx_masterfem ("Finite Element Modeling")
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.

Deprecated:
Deprecated in NX7.5.0.


Created in NX4.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters:
cadPartthe cad part to be associated with the fem part
idealizedPartNamethe name of the idealized part to be created
NOTE: The full Unicode character set is not supported for this parameter.
useAllBodiesFlagThe fem refers to all bodies in the cad part if this parameter is set to CAE::FemPart::UseAllBodiesTrue .
bodiesthe bodies to be used
geometrySyncOptionsgeometry sync options
solverTypeNamethe name of the solver. Refer to NX help for more information
NOTE: The full Unicode character set is not supported for this parameter.
analysisTypeTypethe name of the analysis type. Refer to NX help for more information
NOTE: The full Unicode character set is not supported for this parameter.
descriptiondescription
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")

Parameters:
cadPartthe cad part to be associated with the fem part
idealizedPartNamethe name of the idealized part to be created
NOTE: The full Unicode character set is not supported for this parameter.
useBodiesOptionThe option to specify bodies to use from the cad part while creating the fem part
bodiesthe bodies to be used
geometrySyncOptionsgeometry sync options
solverTypeNamethe name of the solver. Refer to NX help for more information
NOTE: The full Unicode character set is not supported for this parameter.
analysisTypeTypethe name of the analysis type. Refer to NX help for more information
NOTE: The full Unicode character set is not supported for this parameter.
descriptiondescription
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")

Parameters:
useBodiesOptionFlag if all were selected
listOfBodiesArray of tags of selected bodies
psyncDataSyncrhonize 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")

Parameters:
tinyEdgeColorTiny edge color
snapToleranceSnap Tolerance
projectNodesToCadOptionProject nodes to CAD
projectionToleranceProjection tolerance
refineTessellationRefine 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 .

Returns:
the syncrhonize options object created
Created in NX4.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
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.

Deprecated:
Deprecated in NX7.5.0.


Created in NX6.0.2.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters:
useAllBodiesFlag if all were selected
listOfBodiesArray of tags of selected bodies
psyncDataSyncrhonize 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")

Parameters:
useBodiesOptionFlag if all were selected
listOfBodiesArray of tags of selected bodies
psyncDataSyncrhonize 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")

Parameters:
tinyEdgeColorTiny edge color
snapToleranceSnap Tolerance
projectNodesToCadOptionProject nodes to CAD
projectionToleranceProjection tolerance
refineTessellationRefine tessellation 0 or 1

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.