NX Open C++ Reference Guide
|
Represents an NX part of type .sim. More...
Classes | |
struct | ImportErrorCodes |
Contains list of error codes for import of each entity type. More... | |
struct | ImportOptions |
Contains information about which entities to be imported. More... | |
Public Member Functions | |
NXOpen::CAE::CaePart * | FemPart () |
Returns the fem part associated with the sim part. | |
void | FinalizeCreation (NXOpen::CAE::CaePart *femPart, std::vector< NXString > &description) |
Finalizes the creation of the sim part file. | |
void | FinalizeCreation (NXOpen::CAE::CaePart *femPart, int femLayerOpt, std::vector< NXString > &description) |
Finalizes the creation of the sim part file. | |
NXOpen::CAE::SimPart::ImportErrorCodes | ImportSim (const NXString &fileName, const NXString &prependString, const NXOpen::CAE::SimPart::ImportOptions &selOptions, const std::vector< NXOpen::CAE::FEModelOccurrence * > &selectedFemoccs) |
Imports selected entities from the source sim into the current (target) sim. | |
NXOpen::CAE::SimSimulation * | Simulation () |
Returns the CAE::SimSimulation object Created in NX4.0.0. |
Represents an NX part of type .sim.
Use the PartCollection class to load or create a part.
Created in NX4.0.0.
Returns the fem part associated with the sim part.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::SimPart::FinalizeCreation | ( | NXOpen::CAE::CaePart * | femPart, |
std::vector< NXString > & | description | ||
) |
Finalizes the creation of the sim part file.
This method should be called immediately after creating the sim 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 NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
femPart | the fem part file CAE::FemPart |
description | description NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAE::SimPart::FinalizeCreation | ( | NXOpen::CAE::CaePart * | femPart, |
int | femLayerOpt, | ||
std::vector< NXString > & | description | ||
) |
Finalizes the creation of the sim part file.
This method should be called immediately after creating the sim 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 NX6.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
femPart | the fem part file CAE::FemPart |
femLayerOpt | layer option. -1 = USE_ORIGINAL, 0 = USE_WORK |
description | description NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::CAE::SimPart::ImportErrorCodes NXOpen::CAE::SimPart::ImportSim | ( | const NXString & | fileName, |
const NXString & | prependString, | ||
const NXOpen::CAE::SimPart::ImportOptions & | selOptions, | ||
const std::vector< NXOpen::CAE::FEModelOccurrence * > & | selectedFemoccs | ||
) |
Imports selected entities from the source sim into the current (target) sim.
The FeModelOccurrence of the target sim onto which the user needs to import needs to be passed in. The input will be an array of FeModelOccurrences, if user wants to import the same source sim onto multiple FeModelOccurrences of the target sim.
fileName | name of the source simulation file NOTE: The full Unicode character set is not supported for this parameter. |
prependString | string to prepend imported simulation entity names, can be NULL or empty NOTE: The full Unicode character set is not supported for this parameter. |
selOptions | options indicating the types of entities to be imported |
selectedFemoccs | Array of FeModelOccurrences to import onto CAE::FEModelOccurrence |
Returns the CAE::SimSimulation object
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")