revit development does not open the document button is available

step1: write a class A interface inheritance IExternalCommandAvailability, implement the method returns true.

2: When applied to the menu, Pushbutton .AvailabilityClassName = the full name A.

Guess you like

Origin www.cnblogs.com/china-guoch/p/12462339.html