This command toggles the inherit state of an object. If this flag is off the object will not inherit transformations from its parent. In other words transformations applied to the parent node will not affect the object and it will act as though it is under the world. If the -p flag is specified then the object’s transformation will be modified to compensate when changing the inherit flag so the object will not change its world-space location. In query mode, return type is based on queried flag.
off : off (bool) []
on : on (bool) []
preserve the objects world-space position by modifying the object(s) transformation matrix. Flag can have multiple arguments, passed either as a tuple or a list.
toggle the inherit state for the given object(s) (default if no flags are given) -on turn on inherit state for the given object(s) -off turn off inherit state for the given object(s)
Derived from mel command maya.cmds.inheritTransform