23 lines
525 B
C#
23 lines
525 B
C#
using Autodesk.Revit.DB;
|
|
using Autodesk.Revit.UI;
|
|
|
|
namespace xUnitRevit
|
|
{
|
|
internal class CmdAvailabilityViews : IExternalCommandAvailability
|
|
{
|
|
|
|
/// <summary>
|
|
/// Command Availability - Views
|
|
/// </summary>
|
|
/// <param name="applicationData"></param>
|
|
/// <param name="selectedCategories"></param>
|
|
/// <returns></returns>
|
|
public bool IsCommandAvailable(UIApplication applicationData, CategorySet selectedCategories)
|
|
{
|
|
//Can be run from any view/state
|
|
return true;
|
|
|
|
}
|
|
}
|
|
}
|