diff --git a/ProjectPage/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb b/ProjectPage/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb index b464154..2f0e9ba 100644 --- a/ProjectPage/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb +++ b/ProjectPage/OptionPanel/MachiningOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb @@ -66,13 +66,12 @@ Namespace EgtCAM5 EgtDeselectAll() Application.Msn.NotifyColleagues(Application.REMOVEMARKFROMLASTOPERATION) Application.Msn.NotifyColleagues(Application.GETDISTANCE_ISCHECKED, False) - InitializeSimulation() If IniFile.m_bShowOnlyTable Then EgtShowOnlyTable(False) - EgtZoom(ZM.ALL) - Else - EgtDraw() + EgtZoom(ZM.ALL, False) End If + InitializeSimulation() + EgtDraw() Else CloseSimulation() If IniFile.m_bShowOnlyTable Then