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

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 when a wall selected by user in this case.
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