Constraint¶
-
class
cgp_maya_utils.scene.Constraint(name)¶ Bases:
cgp_maya_utils.scene.DagNodenode object that manipulates any kind of constraint node
-
data()¶ data necessary to store the constraint node on disk and/or recreate it from scratch
Returns: the data of the constraint Return type: dict
-
drivenAttributes()¶ the attributes of the driven transform that are driven by the constraint
Returns: the driven attributes Return type: list[ cgp_maya_utils.scene.Attribute]
-
drivenTransform()¶ the transform that is driven by the constraint
Returns: the driven transform Return type: cgp_maya_utils.scene.Transformorcgp_maya_utils.scene.Joint
-
driverTransforms()¶ the transforms that drives the constraint
Returns: the driver transforms Return type: list[ cgp_maya_utils.scene.Transform,cgp_maya_utils.scene.Joint]
-