Пример #1
0
        protected override Result RunCommand(RhinoDoc doc, RunMode mode)
        {
            var identity = new WhoAmI(
                RhinoApp.Name,
                RhinoApp.Version.ToString()
                );

            RhinoApp.WriteLine(identity.Format());
            return(Result.Success);
        }
Пример #2
0
        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);
        }