添加一个非模态对话框在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);

 

posted @ 2018-10-25 16:41  廖先生  阅读(512)  评论(0编辑  收藏  举报