MJCF Importer UI Extension [isaacsim.asset.importer.mjcf.ui]#
MJCF Import UI Workflow#
Enable the MJCF UI extension to import MJCF assets through the asset importer UI. The UI uses the same configuration object as the core importer.
Deprecated Commands#
The following commands are deprecated and provided for backward compatibility only.
New code should use MJCFImporter and MJCFImporterConfig directly.
- class isaacsim.asset.importer.mjcf.ui.impl.command.MJCFCreateImportConfig#
Deprecated command to create an ImportConfig object.
Should be used with the
MJCFCreateAssetcommand.Deprecated since version Use:
MJCFImporterConfig()directly instead.- do() MJCFImporterConfig#
Execute the command to create an import configuration.
- Returns:
New MJCFImporterConfig instance.
- class isaacsim.asset.importer.mjcf.ui.impl.command.MJCFCreateAsset(
- mjcf_path='',
- import_config=MJCFImporterConfig(),
- prim_path='',
- dest_path='',
Deprecated command to parse and import an MJCF file.
- Parameters:
mjcf_path (str) – The absolute path to the MJCF file.
import_config (MJCFImporterConfig) – Import configuration.
prim_path (str) – Path to the robot on the USD stage.
dest_path (str) – Destination path for robot USD. Default is “” which will load the robot in-memory on the open stage.
Deprecated since version Use:
MJCFImporter()directly instead.- do() str#
Execute the command to import the MJCF file.
- Returns:
Path to the imported USD file.