第 1 条消息(共 8 条)

不适用
04-30-2014
11:29 PM
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).
已解决! 转到解答。