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
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Méthode Description
IsCommandAvailable ( UIApplication applicationData, Autodesk selectedCategories ) : bool

Method Details

IsCommandAvailable() public méthode

public IsCommandAvailable ( UIApplication applicationData, Autodesk selectedCategories ) : bool
applicationData UIApplication
selectedCategories Autodesk
Résultat bool