NumericAttribute

class cgp_maya_utils.scene.NumericAttribute(fullName)

Bases: cgp_maya_utils.scene.Attribute

attribute object that manipulates any kind of numeric attribute

add(value)

add the value to the numeric attribute

Parameters:value (int or float) – value to add to the numeric attribute
divide(value)

divide the numeric attribute by the value

Parameters:value (int or float) – value to divide to the numeric attribute
multiply(value)

multiply the numeric attribute by the value

Parameters:value (int or float) – value to multiply to the numeric attribute
power(value)

power the numeric attribute by the value

Parameters:value (int or float) – value to power the numeric attribute by
setValue(value)

set the value on the numeric attribute

Parameters:value (int or float) – value to set on the numeric attribute
substract(value)

substract the value to the numeric attribute

Parameters:value (int or float) – value to substract to the numeric