SketchEditScope
Constructor
Description:
Instantiates a SketchEditScope object.
Instantiates a SketchEditScope object.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document for which this SketchEditScope is going to be used. |
transactionName | String | The name that will appear in the Undo menu in Revit after the SketchEditScope is successfully committed. |
Return Value
Exceptions
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 |