location#
- arrow.location(p0: float, p1: float, p2: float) int #
Specifies the x,y,z coordinate location of the tip of the selected 3D arrow(s).
- Args:
- p0:
‘x_tip’ x coordinate of the tip of the selected 3D arrow(s)
- p1:
‘y_tip’ y coordinate of the tip of the selected 3D arrow(s)
- p2:
‘z_tip’ z coordinate of the tip of the selected 3D arrow(s)
- 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)
- Returns:
zero on success, non-zero on error