macro_panel#

prefs.macro_panel(p0: str) int#

Toggles on/off the user defined macro panel. This is normally used with VR devices and user defined input. The macro panel will be displayed in the main graphics window.

Users define the macro panel layout and actions in the ~/./macros/hum.define file. An example hum.define file is located at $CEI_HOME/ensight92/src/udi/HUM/hum.define on your client system.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.prefs.macro_panel("ON")
Returns:

zero on success, non-zero on error