NXOpen.UF.Ui.PointSubfunction¶
-
Ui.
PointSubfunction
()¶ Refer to UF_UI_point_subfunction for documentation.
Signature:
PointSubfunction(cue, mode, pointDisplayMode)
Parameters: - cue (str) – User Message (40 char max)
- mode (list of int) – On input the default selection type and offset mode. On output the selection type and offset mode used. [0] Selection Type 0 = Show Menu For User Selection (Inferred) 1 = Cursor Location 2 = This value is ignored. 3 = This value is ignored. 4 = Existing Point 5 = End Point 6 = Control Point 7 = Intersection Point 8 = Arc/Ellipse/Sphere Center 9 = Pos On Arc/Ellipse 10 = This value is ignored. 11 = Intersection Point 12 = Quadrant Point 13 = Point on curve/Edge 14 = Point on Surface 15 = Point Between Points 16 = Cursor Location 17 = This value is ignored. [1] Offset Mode 0 = No Offset 1 = Rect Abs 2 = This value is ignored. 3 = Cylindrical 4 = Spherical 5 = 3D Vector 6 = 3D Vector
- pointDisplayMode (int) – Temporary Point Display 0 = Display Temporary Points 1 = Do Not Display Temporary Points
Returns: A Tuple
Return type: A tuple consisting of (mode,point,int)
mode(list of int): Modified value of mode
point(list of float): Point Picked (x,y,z). This is only returned if the return code is 5.
retVar(int): Response Returned1 = Back2 = Cancel5 = Position Returned7 = No Active Part8 = Disallowed state, unable to bring up dialog
License requirements: None