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.
Solved! Go to Solution.
Solved by PhillipM. Go to Solution.
Solved by jeremytammik. Go to 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
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:
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
Hi Lester
As Jermey hinted to in his reply we have no access to the options bar through the API. 😞
Cheers
Phillip
Dear Lester and Phillip,
Thank you Lester for your clarification and appreciation, and Phillip for confirming.
Cheers,
Jeremy
Can't find what you're looking for? Ask the community or share your knowledge.