I'm trying to simply show a dialog, here is my code...
Code:
namespace HelloWorld
{
[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Automatic)]
public class Class1 : IExternalCommand
{
public Autodesk.Revit.UI.Result Execute(ExternalCommandData revit,
ref string message, ElementSet elements);
public void ShowMyDialogBox()
{
Form1 frm = new Form1();
frm.ShowDialog();
}
}
}
I've started with the HelloWorld sample. The debugger is getting caught on 'Execute' (see attached). Any ideas? Thanks.