- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am rather new to Revit API programming. I have been trying to create an add-in whereby a pushbutton on the ribbon is created and that executes something upon being clicked on. I have been successful in making this work up to the point where the pushbutton and ribbon panel gets created on the ribbon but stops working once clicked with the error "External Tools - Wrong Full Class Name".
Here is how the skeleton of my code looks like:
- Two classes, in the same solution, but different class libraries
- An add-in file in the Revit add-ins folder pointing to appropriate IExternalApplication class information
- The first class (Main) implements the IExternalApplication interface and creates the PushButtonData for the PushButton
- The second class implements the IExternalCommand interface
Please note, the add-in does work fine if I move both classes in the same class library, but fail when they're in different class libraries like the setup I have above. I don't think there is a problem with the add-in manifest file because the pushbutton gets initialized and created every time I open Revit. Revit just can't seem to find the class in the assembly when the pushbutton is clicked. Am I missing something in terms of how I built the DLL's or their referencing?
Thank you.
Solved! Go to Solution.