C# Class Revit.SDK.Samples.ExternalComandRegistration.CS.View3D

Implements the Revit add-in interface IExternalCommandAvailability, determine when to enable\disable the corresponding external command by return value from IsCommandAvailable function. Corresponding command will be disabled if active document is not a 3D view.
Inheritance: IExternalCommandAvailability
Datei anzeigen Open project: AMEE/revit

Public Methods

Method Description
IsCommandAvailable ( UIApplication applicationData, Autodesk selectedCategories ) : bool

Method Details

IsCommandAvailable() public method

public IsCommandAvailable ( UIApplication applicationData, Autodesk selectedCategories ) : bool
applicationData UIApplication
selectedCategories Autodesk
return bool