NX Open C++ Reference Guide
Classes | Public Member Functions
NXOpen::CAE::SimPart Class Reference

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

Inheritance diagram for NXOpen::CAE::SimPart:
NXOpen::CAE::CaePart NXOpen::BasePart NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

List of all members.

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::CaePartFemPart ()
 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::SimSimulationSimulation ()
 Returns the CAE::SimSimulation object
Created in NX4.0.0.

Detailed Description

Represents an NX part of type .sim.


Use the PartCollection class to load or create a part.

Created in NX4.0.0.


Member Function Documentation

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")

Parameters:
femPartthe fem part file CAE::FemPart
descriptiondescription
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")

Parameters:
femPartthe fem part file CAE::FemPart
femLayerOptlayer option. -1 = USE_ORIGINAL, 0 = USE_WORK
descriptiondescription
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.

Returns:
list of generated error codes during import
Created in NX7.5.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Parameters:
fileNamename of the source simulation file
NOTE: The full Unicode character set is not supported for this parameter.
prependStringstring to prepend imported simulation entity names, can be NULL or empty
NOTE: The full Unicode character set is not supported for this parameter.
selOptionsoptions indicating the types of entities to be imported
selectedFemoccsArray 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")


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