load_environment
Load a pre-built environment into the Isaac Sim scene by name or search term, with automatic rotation and scaling corrections. Get the prim_path and floor_height for precise placement.
Instructions
Load a pre-built environment into the scene. Supports fuzzy matching. Call list_environments first to see available options.
Many shipped environments are authored Y-up and/or in centimeters; those are rotated and rescaled to match the stage, and the response reports what was applied under "corrections". Read prim_path from the response rather than assuming it — it defaults to a named child of /Environment.
"bounds" carries two different heights, so use the right one: floor_height — the surface objects rest on, measured from the environment's collision floor. Place with position=[x, y, floor_height]. bounds_min_z — the lowest authored geometry (trim, a recessed drain, a sunk prop). Not a placement height. floor_height_source says which was used. When it reads "bounds_min_z" no collision floor could be measured and floor_height is a fallback that may be below the real surface — floor_height_warning explains it.
Args: environment: Environment name or search term (e.g. "warehouse", "hospital", "office"). prim_path: Prim path for the loaded environment. Defaults to /Environment/, which keeps it separate from the stage's default lighting and lets clear_scene remove it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | No | ||
| environment | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |