Bases: object
Builder class for loading, merging, and saving MuJoCo models from XML strings or file paths.
-
save(file_path: str) → str[source]
Save the merged model to a file.
- Parameters:
file_path – Path to save the model.
- Returns:
Absolute path to the saved file.
- Return type:
str
- Raises:
ValueError – If no model is loaded.