Inheritance: System.Windows.Forms.Form
Exemplo n.º 1
0
        /// <summary>
        /// This is the main deal method in this example.
        /// </summary>
        public void Run()
        {
            // Get all sketch plane in revit
            GetSketchPlane();

            // Get all model lines in revit
            GetModelLines();

            // Initialize the InformationMap property for DataGridView display
            InitDisplayInformation();

            // Display the form and allow the user to create one of each model line in revit
            using (ModelLinesForm displayForm = new ModelLinesForm(this))
            {
                displayForm.ShowDialog();
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// This is the main deal method in this example.
        /// </summary>
        public void Run()
        {
            // Get all sketch plane in revit
            GetSketchPlane();

            // Get all model lines in revit
            GetModelLines();

            // Initialize the InformationMap property for DataGridView display
            InitDisplayInformation();

            // Display the form and allow the user to create one of each model line in revit
            using (ModelLinesForm displayForm = new ModelLinesForm(this))
            {
                displayForm.ShowDialog();
            }
        }