添加一个非模态对话框在revit中
RequestHandler handler = new RequestHandler(); ExternalEvent exEvent = ExternalEvent.Create(handler); this.m_mainForm = new CableLayMainForm(uiApp.get_ActiveUIDocument(), exEvent, handler); this.m_mainForm.Show(WindowHelper.HWndRevit);