NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | List of all members
NXOpen.Features.EditWithRollbackManager Class Reference

Represents an object that stores transient data during Edit with Rollback of a feature. More...

Inheritance diagram for NXOpen.Features.EditWithRollbackManager:
NXOpen.TaggedObject NXOpen.Utilities.NXRemotableObject IMessageSink

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...
 

Detailed Description

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 -

  1. NXOpen.Features.FeatureCollection.StartEditWithRollbackManager
  2. Feature edit using builder
  3. NXOpen.Features.EditWithRollbackManager.UpdateFeature
  4. NXOpen.Features.EditWithRollbackManager.Stop
  5. NXOpen.Features.EditWithRollbackManager.Destroy

An instance of this class can be created by a call to Features.FeatureCollection.StartEditWithRollbackManager

Created in NX11.0.0

Member Function Documentation

unsafe void NXOpen.Features.EditWithRollbackManager.Destroy ( )
inline

Delete the Edit With Rollback Manager

Created in NX11.0.0

License requirements: None.

unsafe void NXOpen.Features.EditWithRollbackManager.Stop ( )
inline

Rolls the model to the original current feature after the feature is edited with rollback

Created in NX11.0.0

License requirements: None.

unsafe void NXOpen.Features.EditWithRollbackManager.UpdateFeature ( bool  errorDuringFeatureEdit)
inline

Updates the feature after the feature is edited with rollback

Created in NX11.0.0

License requirements: None.

Parameters
errorDuringFeatureEditTrue if feature edit resulted in an error. False otherwise

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