NXOpen .NET Reference Guide
1899
|
Represents an object that stores transient data during Edit with Rollback of a feature. More...
Public Member Functions | |
unsafe void | Destroy () |
Delete the Edit With Rollback Manager More... | |
unsafe void | Stop () |
Rolls the model to the original current feature after the feature is edited with rollback More... | |
unsafe void | UpdateFeature (bool errorDuringFeatureEdit) |
Updates the feature after the feature is edited with rollback More... | |
Public Member Functions inherited from NXOpen.TaggedObject | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
override string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Properties inherited from NXOpen.TaggedObject | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents an object that stores transient data during Edit with Rollback of a feature.
A call to NXOpen.Features.FeatureCollection.StartEditWithRollbackManager will roll the model to a suitable point before feature edit can begin.
The feature edit is expected to happen after the call to NXOpen.Features.FeatureCollection.StartEditWithRollbackManager
The feature edit should be followed by a call to NXOpen.Features.EditWithRollbackManager.UpdateFeature . A true needs to be passed into NXOpen.Features.EditWithRollbackManager.UpdateFeature indicating that there was an error while editing the feature so all the transient data is cleaned up. A false needs to be passed into NXOpen.Features.EditWithRollbackManager.UpdateFeature if there was no error while editing the feature.
The call to method NXOpen.Features.EditWithRollbackManager.UpdateFeature should be followed by a call to NXOpen.Features.EditWithRollbackManager.Stop . This method rolls forward the model to the original current feature after the feature is edited with rollback.
Finally a call to NXOpen.Features.EditWithRollbackManager.Destroy will destroy the transient object of class NXOpen.Features.EditWithRollbackManager .
Hence the sequence of calls -
An instance of this class can be created by a call to Features.FeatureCollection.StartEditWithRollbackManager
Created in NX11.0.0
|
inline |
Delete the Edit With Rollback Manager
Created in NX11.0.0
License requirements: None.
|
inline |
Rolls the model to the original current feature after the feature is edited with rollback
Created in NX11.0.0
License requirements: None.
|
inline |
Updates the feature after the feature is edited with rollback
Created in NX11.0.0
License requirements: None.
errorDuringFeatureEdit | True if feature edit resulted in an error. False otherwise |