public void OnResetMoleculePositions() { foreach (int moleculeID in molecules.GetIDs()) { UserInterfaceEvents.RaiseResetMoleculeTransform(moleculeID); } }
public void OnResetPositionButton() { MoleculeSettings molecule = molecules.GetSelected(); if (molecule == null) { return; } UserInterfaceEvents.RaiseResetMoleculeTransform(molecule.ID); }