NXOpen.UF.Ui.PickCsys

Ui.PickCsys()

Refer to UF_UI_pick_csys for documentation.

Signature: PickCsys(title, option)

Parameters:
  • title (str) – Menu Title (40 char max)
  • option (int) – On input the default CSYS Option. On output the CSYS option used. 0 = Origin, X-pt, Y-pt 1 = X-axis, Y-axis 2 = X-pt, Z-axis 3 = CSYS Of Arc/Conic 4 = WCS 5 = Offset CSYS 6 = Absolute CSYS 7 = Current View 8 = Drafting Object 9 = X-axis, Y-axis, Origin 10 = Point, Perpendicular Curve 11 = WCS 12 = Plane and Vector 13 = Three Planes 14 = Origin, X-pt, Y-pt 15 = Dynamic
Returns:

A Tuple

Return type:

A tuple consisting of (option,csysMatrix,origin,int)

option(int): Modified value of option

csysMatrix(list of float): CSYS Matrix (9 element array) - relative to Absolute CSYS of Displayed Part

origin(list of float): Origin Of CSYS (3 element array) - relative to Absolute CSYS of Displayed Part

retVar(int): Users Response1 = Back2 = Cancel3 = OK7 = No Active Part8 = Disallowed state, unable to bring up dialog

License requirements: None