@@ -145,7 +145,7 @@ def use_stage(stage: Usd.Stage) -> Generator[None, None, None]:
145145 .. code-block:: python
146146
147147 >>> from pxr import Usd
148- >>> import isaaclab.sim.utils. stage as stage_utils
148+ >>> from isaaclab.sim.utils import stage as stage_utils
149149 >>>
150150 >>> stage_in_memory = Usd.Stage.CreateInMemory()
151151 >>> with stage_utils.use_stage(stage_in_memory):
@@ -187,7 +187,7 @@ def get_current_stage(fabric: bool = False) -> Usd.Stage | usdrt.Usd._Usd.Stage:
187187
188188 .. code-block:: python
189189
190- >>> import isaaclab.sim.utils. stage as stage_utils
190+ >>> from isaaclab.sim.utils import stage as stage_utils
191191 >>>
192192 >>> stage_utils.get_current_stage()
193193 Usd.Stage.Open(rootLayer=Sdf.Find('anon:0x7fba6c04f840:World7.usd'),
@@ -214,7 +214,7 @@ def get_current_stage_id() -> int:
214214
215215 .. code-block:: python
216216
217- >>> import isaaclab.sim.utils. stage as stage_utils
217+ >>> from isaaclab.sim.utils import stage as stage_utils
218218 >>>
219219 >>> stage_utils.get_current_stage_id()
220220 1234567890
@@ -234,7 +234,7 @@ def update_stage() -> None:
234234
235235 .. code-block:: python
236236
237- >>> import isaaclab.sim.utils. stage as stage_utils
237+ >>> from isaaclab.sim.utils import stage as stage_utils
238238 >>>
239239 >>> stage_utils.update_stage()
240240 """
@@ -252,7 +252,7 @@ def set_stage_up_axis(axis: str = "z") -> None:
252252
253253 .. code-block:: python
254254
255- >>> import isaaclab.sim.utils. stage as stage_utils
255+ >>> from isaaclab.sim.utils import stage as stage_utils
256256 >>>
257257 >>> # set stage up axis to Y-up
258258 >>> stage_utils.set_stage_up_axis("y")
@@ -276,7 +276,7 @@ def get_stage_up_axis() -> str:
276276
277277 .. code-block:: python
278278
279- >>> import isaaclab.sim.utils. stage as stage_utils
279+ >>> from isaaclab.sim.utils import stage as stage_utils
280280 >>>
281281 >>> stage_utils.get_stage_up_axis()
282282 Z
@@ -296,7 +296,7 @@ def clear_stage(predicate: typing.Callable[[str], bool] | None = None) -> None:
296296
297297 .. code-block:: python
298298
299- >>> import isaaclab.sim.utils. stage as stage_utils
299+ >>> from isaaclab.sim.utils import stage as stage_utils
300300 >>>
301301 >>> # clear the whole stage
302302 >>> stage_utils.clear_stage()
@@ -350,7 +350,7 @@ def print_stage_prim_paths(fabric: bool = False) -> None:
350350
351351 .. code-block:: python
352352
353- >>> import isaaclab.sim.utils. stage as stage_utils
353+ >>> from isaaclab.sim.utils import stage as stage_utils
354354 >>>
355355 >>> # given the stage: /World/Cube, /World/Cube_01, /World/Cube_02.
356356 >>> stage_utils.print_stage_prim_paths()
@@ -394,7 +394,7 @@ def add_reference_to_stage(usd_path: str, prim_path: str, prim_type: str = "Xfor
394394
395395 .. code-block:: python
396396
397- >>> import isaaclab.sim.utils. stage as stage_utils
397+ >>> from isaaclab.sim.utils import stage as stage_utils
398398 >>>
399399 >>> # load an USD file (franka.usd) to the stage under the path /World/panda
400400 >>> prim = stage_utils.add_reference_to_stage(
@@ -450,7 +450,7 @@ def create_new_stage() -> Usd.Stage:
450450
451451 .. code-block:: python
452452
453- >>> import isaaclab.sim.utils. stage as stage_utils
453+ >>> from isaaclab.sim.utils import stage as stage_utils
454454 >>>
455455 >>> stage_utils.create_new_stage()
456456 Usd.Stage.Open(rootLayer=Sdf.Find('anon:0x7fba6c04f840:World7.usd'),
@@ -470,7 +470,7 @@ def create_new_stage_in_memory() -> Usd.Stage:
470470
471471 .. code-block:: python
472472
473- >>> import isaaclab.sim.utils. stage as stage_utils
473+ >>> from isaaclab.sim.utils import stage as stage_utils
474474 >>>
475475 >>> stage_utils.create_new_stage_in_memory()
476476 Usd.Stage.Open(rootLayer=Sdf.Find('anon:0xf7b00e0:tmp.usda'),
@@ -504,7 +504,7 @@ def open_stage(usd_path: str) -> bool:
504504
505505 .. code-block:: python
506506
507- >>> import isaaclab.sim.utils. stage as stage_utils
507+ >>> from isaaclab.sim.utils import stage as stage_utils
508508 >>>
509509 >>> stage_utils.open_stage("/home/<user>/Documents/Assets/Robots/FrankaRobotics/FrankaPanda/franka.usd")
510510 True
@@ -535,7 +535,7 @@ def save_stage(usd_path: str, save_and_reload_in_place=True) -> bool:
535535
536536 .. code-block:: python
537537
538- >>> import isaaclab.sim.utils. stage as stage_utils
538+ >>> from isaaclab.sim.utils import stage as stage_utils
539539 >>>
540540 >>> stage_utils.save_stage("/home/<user>/Documents/Save/stage.usd")
541541 True
@@ -571,14 +571,14 @@ def close_stage(callback_fn: typing.Callable | None = None) -> bool:
571571
572572 .. code-block:: python
573573
574- >>> import isaaclab.sim.utils. stage as stage_utils
574+ >>> from isaaclab.sim.utils import stage as stage_utils
575575 >>>
576576 >>> stage_utils.close_stage()
577577 True
578578
579579 .. code-block:: python
580580
581- >>> import isaaclab.sim.utils. stage as stage_utils
581+ >>> from isaaclab.sim.utils import stage as stage_utils
582582 >>>
583583 >>> def callback(*args, **kwargs):
584584 ... print("callback:", args, kwargs)
@@ -606,7 +606,7 @@ def traverse_stage(fabric=False) -> typing.Iterable:
606606
607607 .. code-block:: python
608608
609- >>> import isaaclab.sim.utils. stage as stage_utils
609+ >>> from isaaclab.sim.utils import stage as stage_utils
610610 >>>
611611 >>> # given the stage: /World/Cube, /World/Cube_01, /World/Cube_02.
612612 >>> # Traverse through prims in the stage
@@ -635,7 +635,7 @@ def is_stage_loading() -> bool:
635635
636636 .. code-block:: python
637637
638- >>> import isaaclab.sim.utils. stage as stage_utils
638+ >>> from isaaclab.sim.utils import stage as stage_utils
639639 >>>
640640 >>> stage_utils.is_stage_loading()
641641 False
@@ -674,7 +674,7 @@ def set_stage_units(stage_units_in_meters: float) -> None:
674674
675675 .. code-block:: python
676676
677- >>> import isaaclab.sim.utils. stage as stage_utils
677+ >>> from isaaclab.sim.utils import stage as stage_utils
678678 >>>
679679 >>> stage_utils.set_stage_units(1.0)
680680 """
@@ -710,7 +710,7 @@ def get_stage_units() -> float:
710710
711711 .. code-block:: python
712712
713- >>> import isaaclab.sim.utils. stage as stage_utils
713+ >>> from isaaclab.sim.utils import stage as stage_utils
714714 >>>
715715 >>> stage_utils.get_stage_units()
716716 1.0
@@ -732,7 +732,7 @@ def get_next_free_path(path: str, parent: str = None) -> str:
732732
733733 .. code-block:: python
734734
735- >>> import isaaclab.sim.utils. stage as stage_utils
735+ >>> from isaaclab.sim.utils import stage as stage_utils
736736 >>>
737737 >>> # given the stage: /World/Cube, /World/Cube_01.
738738 >>> # Get the next available path for /World/Cube
@@ -760,7 +760,7 @@ def remove_deleted_references():
760760
761761 .. code-block:: python
762762
763- >>> import isaaclab.sim.utils. stage as stage_utils
763+ >>> from isaaclab.sim.utils import stage as stage_utils
764764 >>> stage_utils.remove_deleted_references()
765765 Removed 2 deleted payload items from </World/Robot>
766766 Removed 1 deleted reference items from </World/Scene>
0 commit comments