Skip to content

TopographyEditScope

Public Constructor

Instantiates a TopographyEditScope object.

Namespace: Autodesk.Revit.DB.Architecture

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public TopographyEditScope(
Document document,
string transactionName
)

Parameters

document Document

The document for which this TopographyEditScope is going to be used.

transactionNameString

The name that will appear in the Undo menu in Revit after the TopographyEditScope is successfully committed.

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