Enabling Weighted Grades through APIs

jloiacon
Community Novice

How do I enable Weighted Grades through the API?  I am already creating Assignment Groups and setting the weights, but I cannot figure out how to make sure that the "Weight final grade based on assignment groups" check box is selected.