protected override Result RunCommand(RhinoDoc doc, RunMode mode) { var identity = new WhoAmI( RhinoApp.Name, RhinoApp.Version.ToString() ); RhinoApp.WriteLine(identity.Format()); return(Result.Success); }
public Result Execute( ExternalCommandData commandData, ref string message, ElementSet elements) { var identity = new WhoAmI( commandData.Application.Application.VersionName, commandData.Application.Application.VersionNumber ); MessageBox.Show(identity.Format()); return(Result.Succeeded); }