Пример #1
0
 private void Reset_Click(object sender, EventArgs e)
 {
     RemovePlanes();
     CommonData.StkRoot.ExecuteCommand("BatchGraphics * On");
     foreach (ObjectData item in CommonData.InitialObjectData)
     {
         SmartViewFunctions.SetAllObjectData(item);
         try
         {
             CommonData.StkRoot.ExecuteCommand("VO " + item.SimplePath + " DynDataText RemoveAll");
         }
         catch (Exception)
         {
         }
     }
     CommonData.StkRoot.ExecuteCommand("BatchGraphics * Off");
 }