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
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