Options Bar

Anonymous

Options Bar

Anonymous
Not applicable

I am new to the Revit API and would like to know what drives the options bar to display allowing users to choose specific options for that addin?  Any information would certainly be appreciated.

0 Likes
Reply
Accepted solutions (2)
1,152 Views
4 Replies
Replies (4)

jeremytammik
Autodesk
Autodesk
Accepted solution

If you are new to the Revit API, the first thing to do is to work through the getting started material, especially the 'My First Revit Plug-in' and DevTV tutorials:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#2

 

Getting started includes installing the SDK and RevitLookup, a very important Revit project database exploration tool.

 

 

Here are some recent other notes on getting started:

 

http://thebuildingcoder.typepad.com/blog/2015/01/cloud-accelerator-and-more-revit-stuff.html#3

 

Regarding your specific question, the ribbon is almost completely controlled by Revit itself, and you have little influence on that, except one UI setting on whether or not it should adapt to the current selection, afaik.

 

Why are you asking?

 

Best regards,

 

Jeremy



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

Anonymous
Not applicable

Jeremy:

 

Thank you for the reply.  I have taken the steps you have mentioned below to better aquaint myself with the Revit API and am slowly getting more familiar with it.  The reason I was asking about the Options Bar was that I thought it was a more natural way to make some basic selections for a routine I am looking to develop rather than a dialogbox/form.  I just wasn't sure if the API controlled the Options Bar so I would know if I needed to code the specific information into my routine to show up there.  Also, I find your blog to be a very useful resource, keep up the great work.

 

Lester

0 Likes

PhillipM
Advocate
Advocate
Accepted solution

Hi Lester

 

As Jermey hinted to in his reply we have no access to the options bar through the API. 😞

 

Cheers

 

Phillip

jeremytammik
Autodesk
Autodesk

Dear Lester and Phillip,

 

Thank you Lester for your clarification and appreciation, and Phillip for confirming.

 

Cheers,

 

Jeremy



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