TransformComponent

class cgp_maya_utils.scene.TransformComponent(fullName)

Bases: cgp_maya_utils.scene.Component

component object that manipulates any kind of transform component

position(worldSpace=False)

the position of the transform component

Parameters:worldSpace (bool) – True : positions will be worldSpace - False : positions will be local
Returns:the position of the component
Return type:list[float]