frame_mode_allowed#

prefs.frame_mode_allowed(p0: str) int#

Will display Frame as one of the modes along the left side of the EnSight main interface.

As EnSight reads in model Parts, they are all initially assigned to the same Frame of reference: Frame 0. Frame 0 corresponds to the model coordinate system (defined when the model was created). Using the Frame mode, you can create additional frames, reassign parts to different frames, and specify various attributes of the frames. By default frame mode is not available because frame mode is an advanced feature not normally used by first time users.
Args:
p0:

‘toggle’

  • ON

  • OFF

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

zero on success, non-zero on error