/// <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(); } }
/// <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(); } }