Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

problem while implementing AvailabilityClassName?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
prasannamurumkar
436 Views, 1 Reply

problem while implementing AvailabilityClassName?

prasannamurumkar
Advocate
Advocate

i have dll and command name which is calling on button.

I want to enable button at zero document state. for that i am using AvailabilityClassName 

when  i give name in AvailabilityClassName. .while running it shows error as class has not inherit the IexternalCommandAvailability.

I know it is require to implement Iexternal Availavbility in that class.

But i have only dll and command. class is not available with me.How can  implement

AvailabilityClassName property?

 

 

0 Likes

problem while implementing AvailabilityClassName?

i have dll and command name which is calling on button.

I want to enable button at zero document state. for that i am using AvailabilityClassName 

when  i give name in AvailabilityClassName. .while running it shows error as class has not inherit the IexternalCommandAvailability.

I know it is require to implement Iexternal Availavbility in that class.

But i have only dll and command. class is not available with me.How can  implement

AvailabilityClassName property?

 

 

1 REPLY 1
Message 2 of 2

jeremytammik
Autodesk
Autodesk
Accepted solution

Use an IL disassembly tool to explore and determine the exact class name in the .NET assembly DLl: 

 

https://duckduckgo.com/?q=il+disassembly

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Use an IL disassembly tool to explore and determine the exact class name in the .NET assembly DLl: 

 

https://duckduckgo.com/?q=il+disassembly

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report