if cmds.listRelatives(duplicateCam, parent=True) is not None:
# Move the duplicate camera to the top
cmds.parent(duplicateCam, world=True)
More than 1 year has passed since last update.
python maya move cam to the top of the DAG (Directed Acyclic Graph) hierarchy
Posted at
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme