Revit 2025 API
Sketch |
Instantiates a SketchEditScope object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public SketchEditScope( Document document, string transactionName )
Public Sub New ( document As Document, transactionName As String )
public: SketchEditScope( Document^ document, String^ transactionName )
new : document : Document * transactionName : string -> SketchEditScope
Parameters
| Exception | Condition |
|---|---|
| ArgumentException | document is not a primary document, it is a linked document. -or- document is not a project document. -or- transactionName is an empty string. |
| ArgumentNullException | A non-optional argument was null |
See Also