| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Pump; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Pipe; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | Common.GlobalResource.CurrentAddinId = commandData.Application.ActiveAddInId; |
| | | DocumentUtil.RegistDocumentEvent(commandData.Application.Application); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Valve; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Heat_Exchanger; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Blocker; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Shower; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Three_Joint; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Four_Joint; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Water_Meter; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Water_Pool; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Water_Box; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Elbow; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |
| | |
| | | YWFamilyType m_type = YWFamilyType.YWFT_Fire_Hydrant; |
| | | public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) |
| | | { |
| | | ExternalCommandUtils.ShowDockablePanel(commandData, m_type); |
| | | DockablePaneUtils.ShowDockablePanel(commandData, m_type); |
| | | return Result.Succeeded; |
| | | } |
| | | } |