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: 

Loading custom ribbon DLLs?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Kevin.Bell
1000 Views, 2 Replies

Loading custom ribbon DLLs?

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.

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Kevin.Bell

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>

Message 3 of 3
Kevin.Bell
in reply to: Anonymous

Excellent! Thanks.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community