Foldit Wiki


integer structure.GetSymCount()
Return the number of symmetry copies. 0 if there are no copies.
V1 Function Name

structure.GetSymCount returns the number of symmetric copies of the main chain. If the number of copies is greater than zero, the puzzle is a symmetry puzzle.

For symmetry puzzles, the function band.AddBetweenSegments allows placing the band's endpoint on one of the symmetric copies of the main chain. The optional parameter symnr2 for band.AddBetweenSegments must be in the range zero to structure.GetSymCount. (Symmetric banding is available in devprev, starting with 20191029-32048a6a12-win_x86-devprev or the equivalent for non-Windows platforms.)