chengdong Hello Tristan, the zQuery command does support lineOfAction, try using following script: from maya import cmds cmds.zQuery(loa=True)