load ¶
load(source: str | Path | Scene | dict, *, worlds: int | None = None, device: str | None = None, seed: int = 0, profile: str = 'standard') -> Any
Load and build in one call: returns an alloy.Sim (arguments as in alloy.build).
Example: sim = alloy.load("arm.xml"); sim.run(1.0, record=["arm/hand"]).