[clear() Removes all elements from collection. def clear(self): ... See Also module aspose.diagram class RuleCollection]