node_labeling#

annotation.node_labeling(p0: str) int#

Turns node labels on or off globally.

Node labels for individual parts can be toggled on or off; however, for any labels to be visible, the global setting must be on. A threshold can also be enabled to limit the range of visible labels.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.annotation.node_labeling("ON")
ensight.view_transf.function("global")
ensight.view_transf.function("global")
ensight.part.modify_begin()
ensight.part.entity_label_node("ON")
ensight.part.modify_end()
ensight.view_transf.function("global")
ensight.annot_entlbl.element_thresholds("band")
ensight.annot_entlbl.element_threshold_low(10)
ensight.annot_entlbl.element_threshold_high(20)
ensight.annot_entlbl.element_rgb(0.000000,1.000000,0.000000)
Returns:

zero on success, non-zero on error