Message 1 of 8

Not applicable
04-30-2014
11:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The addin I am writing adds a ribbon panel with two buttons (button A and button B) to the "Add-Ins Ribbon".
Clicking these buttons will both execute the "Public Function Execute(commandData As Autodesk.Revit.UI.ExternalCommandData, ByRef message As String, elements As Autodesk.Revit.DB.ElementSet) As Autodesk.Revit.UI.Result Implements Autodesk.Revit.UI.IExternalCommand.Execute"
I would like to know which button is being clicked (A or B).
How can I determine this?
P.s. In my .addin manifest, I have defined only one "Command", so under the "External Tools", only one command show up (as expected).
Solved! Go to Solution.