Change settings using python API

I would like to change the (default) settings (especially for setting the NavMesh settings) set when using isaac sim as a standalone simulation. It is easy to change them when using the GUI, but if the simulation is run in standalone mode those preferences are not applied.
Is there a way to change those settings or apply the defaults set in the GUI version?

I tried to change the values in the .toml files which have set the default values, but this doesn’t work

@wueestry not sure if these are what you are looking for:

import omni.kit.commands


# changes nav mesh "agent height" setting preference
omni.kit.commands.execute('ChangeSetting',
	path='/persistent/exts/omni.anim.navigation.core/navMesh/config/agentHeight',
	value=150.0)

# changes nav mesh "agent radius" setting preference
omni.kit.commands.execute('ChangeSetting',
	path='/persistent/exts/omni.anim.navigation.core/navMesh/config/agentRadius',
	value=15.0)

# changes nav mesh "voxel ceiling" setting preference
omni.kit.commands.execute('ChangeSetting',
	path='/persistent/exts/omni.anim.navigation.core/navMesh/config/voxelCeiling',
	value=400.0)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.