NX Open C++ Reference Guide
|
Represents smart save context
To create a new instance of this class, use NXOpen::PDM::PdmSession::CreateSmartSaveContext
Created in NX11.0.1.
More...
Public Member Functions | |
NXOpen::PDM::SmartSaveBuilder::SaveType | GetSaveType () |
Returns the save operation type. More... | |
void | GetWorkObjectToRootObjectMap (std::vector< NXOpen::TaggedObject * > &workObjects, std::vector< NXOpen::TaggedObject * > &rootObjects) |
Returns the set of work object to root object pairs from the context Created in NX11.0.1. More... | |
void | SetWorkObjectToRootObjectMap (const std::vector< NXOpen::TaggedObject * > &workObjects, const std::vector< NXOpen::TaggedObject * > &rootObjects) |
Adds the given set of work object to root object pairs to the context Created in NX11.0.1. More... | |
virtual | ~SmartSaveContext () |
Frees the object from memory. More... | |
Public Member Functions inherited from NXOpen::TransientObject | |
void * | GetHandle () |
Handle of the internal object represented by this object. More... | |
Represents smart save context
To create a new instance of this class, use NXOpen::PDM::PdmSession::CreateSmartSaveContext
Created in NX11.0.1.
|
virtual |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX11.0.1.
License requirements : None
NXOpen::PDM::SmartSaveBuilder::SaveType NXOpen::PDM::SmartSaveContext::GetSaveType | ( | ) |
Returns the save operation type.
void NXOpen::PDM::SmartSaveContext::GetWorkObjectToRootObjectMap | ( | std::vector< NXOpen::TaggedObject * > & | workObjects, |
std::vector< NXOpen::TaggedObject * > & | rootObjects | ||
) |
Returns the set of work object to root object pairs from the context
Created in NX11.0.1.
License requirements : None
workObjects | array of work objects to be saved |
rootObjects | array of root objects |
void NXOpen::PDM::SmartSaveContext::SetWorkObjectToRootObjectMap | ( | const std::vector< NXOpen::TaggedObject * > & | workObjects, |
const std::vector< NXOpen::TaggedObject * > & | rootObjects | ||
) |
Adds the given set of work object to root object pairs to the context
Created in NX11.0.1.
License requirements : assemblies ("ASSEMBLIES MODULE")
workObjects | array of work objects to be saved |
rootObjects | array of root objects |