Accelerate Rules
- class activelogic.AccelerateRule
Object representing a AccelerateRule.
- Parameters:
name (str) – The name of the rule.
id (int) – The ID of the rule.
active (bool) – Boolean value indicating if the rule is active or not.
accelerate_object (int) – id of the accelerate object for this rule.
condition (int) – The rule condition for the rule expressed as an integer.
>>> obj = rs.add(AccelerateObject('myobj')) >>> ruleobj = rs.add(AccelerateRule(name='myacceleraterule', accelerate_object=obj.id))