(usd_path: str)
| 56 | |
| 57 | |
| 58 | def remove_articulation_root_api(usd_path: str): |
| 59 | stage = Usd.Stage.Open(usd_path) |
| 60 | for prim in stage.Traverse(): |
| 61 | if prim.HasAPI(UsdPhysics.ArticulationRootAPI): |
| 62 | prim.RemoveAPI(UsdPhysics.ArticulationRootAPI) |
| 63 | stage.Save() |
| 64 | |
| 65 | |
| 66 | def has_collision_api(usd_path: str): |