private List<Boolean> GetLocks(IINode node) { List<Boolean> locks = new List<Boolean>(9); locks.Add(node.GetTransformLock(0, 0)); locks.Add(node.GetTransformLock(0, 1)); locks.Add(node.GetTransformLock(0, 2)); locks.Add(node.GetTransformLock(1, 0)); locks.Add(node.GetTransformLock(1, 1)); locks.Add(node.GetTransformLock(1, 2)); locks.Add(node.GetTransformLock(2, 0)); locks.Add(node.GetTransformLock(2, 1)); locks.Add(node.GetTransformLock(2, 2)); return locks; }