Instantiates a SketchEditScope object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2022
Syntax
C# |
---|
public SketchEditScope(
Document document,
string transactionName
) |
Visual Basic |
---|
Public Sub New ( _
document As Document, _
transactionName As String _
) |
Visual C++ |
---|
public:
SketchEditScope(
Document^ document,
String^ transactionName
) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document for which this SketchEditScope is going to be used.
- transactionName
- Type: System..::..String
The name that will appear in the Undo menu in Revit after the SketchEditScope is successfully committed.
Exceptions
See Also