NX Open C++ Reference Guide
|
Represents an object that manages DMU application specific objects and preferences. More...
Public Member Functions | |
NXOpen::DMU::SnapshotCollection * | CreateSnapshotCollection (NXOpen::Part *part) |
Creates the NXOpen::DMU::SnapshotCollection in the part. More... | |
NXOpen::DMU::SnapshotCollection * | GetSnapshotCollection (NXOpen::Part *part) |
Returns the NXOpen::DMU::SnapshotCollection in the part. More... | |
void | ResetToDesignState (NXOpen::Part *part) |
Resets the changes made to the part, related to the assets which can be captured in the NXOpen::DMU::ISnapshot . More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Static Public Member Functions | |
static DMUManager * | GetDMUManager (NXOpen::Session *owner) |
Returns the DMUManager object for the running session which serves as the 'gateway' class for the application API. More... | |
Represents an object that manages DMU application specific objects and preferences.
To obtain an instance of this class, refer to NXOpen::Session
Created in NX12.0.0.
NXOpen::DMU::SnapshotCollection* NXOpen::DMU::DMUManager::CreateSnapshotCollection | ( | NXOpen::Part * | part | ) |
Creates the NXOpen::DMU::SnapshotCollection in the part.
At max only one instance of NXOpen::DMU::SnapshotCollection can be created in a part.
part | part |
|
static |
Returns the DMUManager object for the running session which serves as the 'gateway' class for the application API.
References to all other objects in this API are obtained either directly or indirectly via methods and properties on this class. Platform Session should be initialized using 'GetSession' method from NXOpen API prior to this call.
NXOpen::DMU::SnapshotCollection* NXOpen::DMU::DMUManager::GetSnapshotCollection | ( | NXOpen::Part * | part | ) |
Returns the NXOpen::DMU::SnapshotCollection in the part.
part | part |
void NXOpen::DMU::DMUManager::ResetToDesignState | ( | NXOpen::Part * | part | ) |
Resets the changes made to the part, related to the assets which can be captured in the NXOpen::DMU::ISnapshot .
Created in NX12.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
part | Part that will get reset to design state |
tag_t NXOpen::DMU::DMUManager::Tag | ( | ) | const |
Returns the tag of this object.