Hi,
I'm very new to the Revit API, and would appriciate a pointer.
I've downloaded a custom ribbon example from here:
http://redbolts.com/blog/post/2010/04/09/Revit-2011-Custom-Ribbon-Tab.aspx
But how to I load it, I thought you just placed it in the addins folder - but that doesn't work.
Am i missing something?
Cheers.
Solved! Go to Solution.
You need to place an addin file, similar to the one below in the Addin folder.
Create a new text document, copy and paste the text below into it you need to modify the following:
Assembly: Location of your dll file
AddInId: Get a new ID from here http://www.guidgenerator.com/online-guid-generator.aspx
FullClassName: "dll file name".Class1 Try .Class1 unless you know the class name
Then change the extension to .addin
The SDK that comes with the Revit installation has a 400pg guide that is good for getting you started. It should be located with the Revit installation file in \support\SDK
Hope that helps.
<?xml version="1.0" encoding="utf-8" standalone="no"?> <RevitAddIns> <AddIn Type="Application"> <Name>SampleApplication</Name> <Assembly>D:\Sample\AddPanel\AddPanel\bin\Debug\AddPanel.dll</Assembly> <AddInId>604B1052-F742-4951-8576-C261D1993107</AddInId> <FullClassName>AddPanel.Class1</FullClassName> </AddIn> </RevitAddIns> |