probe_number#
- arrow.probe_number(p0: int) int #
Specifies the probe number to use in setting the origin by interactive probe query for the selected 3D arrow(s).
- Args:
- p0:
‘num’ probe number (0 to number of probes-1)
- Examples:
ensight.arrow.new_arrow() ensight.arrow.select_begin(0) ensight.arrow.label_text("Label") ensight.arrow.visible("ON") ensight.arrow.origin_by("XYZ") ensight.arrow.location(0.000000e+000,0.000000e+000,2.000000e+000) ensight.arrow.normal(0.000000e+000,0.000000e+000,-1.000000e+000) ensight.arrow.offset(5.000000e-001) ensight.arrow.size(1.500000e+000) ensight.arrow.radius(1.250000e-001) ensight.arrow.tip_length(3.000000e-001) ensight.arrow.tip_radius(2.250000e+000) ensight.arrow.rgb(1.000000e+000,1.000000e+000,0.000000e+000) ensight.arrow.light_shin(9.000000e+000) ensight.arrow.light_h_int(4.700000e-001) ensight.arrow.light_diff(2.100000e-001) ensight.arrow.label_rgb(0.000000e+000,1.000000e+000,0.000000e+000) ensight.arrow.label_size(3.600000e+001) ensight.arrow.label_offset(.5) ensight.arrow.viewport_vis("off",1) ensight.arrow.viewport_vis("on",0) ensight.variables.activate("temperature") ensight.query_interact.select_varname_begin("temperature") ensight.view_transf.function("global") ensight.query_interact.query("surface") ensight.query_interact.create(0.615213,0.242925) ensight.arrow.origin_by("probe_query") ensight.arrow.probe_number(0)
- Returns:
zero on success, non-zero on error