ensure_parents_are_active#
- omni.usd.commands.ensure_parents_are_active(stage, path)#
Internal. It will ensure parents are active. If they are not, it will change the active flag into active, and all of their children will be marked to inacitve. This is normally used when it’s to create materials under /World/Looks, as it’s possible /World/Looks is deactivated. While creating a prim under an inactive parent will throw exceptions by USD.