Share

ExternalCommandData Class

A class contains reference to Application and View which are needed by external command.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.UI.ExternalCommandData


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class ExternalCommandData : APIObject

The ExternalCommandData type exposes the following members.

Properties

 NameDescription
Public propertyApplication Retrieves an object that represents the current Application for external command.
Public propertyCode exampleIsReadOnlyIdentifies if the object is read-only or modifiable.
(Inherited from APIObject)
Public propertyCode exampleJournalDataA data map that can be used to read and write data to the Autodesk Revit journal file.
Public propertyView Retrieves an object that represents the View external command work on.

Methods

 NameDescription
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?