set_active_variation#

SolutionData.set_active_variation(var_id=0)#

Set the active variations to one of available variations in self.variations.

Parameters:
var_idint

Index of Variations to assign.

Returns:
bool

True when successful, False when failed.