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
ファイルを表示 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