// Toggle the part visibility
 public static void Toggle(Part part)
 {
     if (PartAdapter.IsHidden(part))
     {
         PartAdapter.Show(part);
     }
     else if (PartAdapter.IsShown(part))
     {
         PartAdapter.Hide(part);
     }
 }
 // Make only one part in an array visible (at specific index)
 public static void ShowOne(Part[] parts, int i)
 {
     PartAdapter.HideAll(parts);                                                                                             // Hide all parts
     PartAdapter.Show(parts[i]);                                                                                             // Show selected part
 }