Ejemplo n.º 1
0
        // You can override methods here to change the plug-in behavior on
        // loading and shut down, add options pages to the Rhino _Option command
        // and mantain plug-in wide options in a document.
        protected override void OptionsDialogPages(List <OptionsDialogPage> pages)
        {
            var settings = base.Settings;
            var page     = new ASCImportOptionPage("ASC Import Options", settings);

            pages.Add(page);
            base.OptionsDialogPages(pages);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Override this function if you want to extend the document properties sections of the options dialog. This function is called whenever the user brings up the Options dialog.
        /// </summary>
        /// <param name="doc"></param>
        /// <param name="pages"></param>
        protected override void DocumentPropertiesDialogPages(RhinoDoc doc, List <OptionsDialogPage> pages)
        {
            var settings = base.Settings;
            var page     = new ASCImportOptionPage("ASC Import Options", settings);

            pages.Add(page);
            base.DocumentPropertiesDialogPages(doc, pages);
        }