|
![]() |
This is used to batch together edits.
Currently it is a requirement that you must call Commit,
after doing your edits. In the future rollback may be supported.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public NotInheritable Class Transaction _ Implements IDisposable |
C# |
---|
public sealed class Transaction : IDisposable |
Visual C++ |
---|
public ref class Transaction sealed : IDisposable |
Remarks
You can use a Transaction object to batch up a group of edits. When you commit the transaction, all the edits are applied and recorded for undo as one single operation. You currently cannot rollback a transaction, so you must always ensure you commit a transaction when you have finished using it.