2026 Constructor
Changes 2
C

SketchEditScope

Description:
Instantiates a SketchEditScope object.
public SketchEditScope(
	Document document,
	string transactionName
)
  • document
    The document for which this SketchEditScope is going to be used.
  • String
    transactionName
    The name that will appear in the Undo menu in Revit after the SketchEditScope is successfully committed.
  • document is not a primary document, it is a linked document. -or- document is not a project document. -or- transactionName is an empty string.
  • A non-optional argument was null