allow_default_editing#

part.allow_default_editing() int#

Allow or disallow editing of part defaults.

This is a command for preferences and is written out in the ensight_allparts_prefs.def file.
If the user edits a part attribute when no parts are selected the default is normally edited. With this toggle OFF the user will no be able to edit part defaults.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.part.allow_default_editing("OFF")
Returns:

zero on success, non-zero on error