private void SelectElement(object sender, MouseButtonEventArgs e) { if (core is IPickable) { simulationService.AttachModel(core as IPickable); } }