NXOpen.UF.Ui.SpecifyCsys

Ui.SpecifyCsys()

Refer to UF_UI_specify_csys for documentation.

Signature: SpecifyCsys(title, option, csysTag)

Parameters:
  • title (str) – Menu Title (40 char max)
  • option (int) – On input the default CSYS Option. On output the CSYS option used. 0 = Inferred 1 = Origin, X-pt, Y-pt 2 = X-axis, Y-axis 3 = X-pt, Z-axis 4 = CSYS of Object 5 = WCS (Dynamic) 6 = Offset CSYS 7 = Absolute CSYS 8 = CSYS of Current View 9 = Three Planes 10 = Origin, X-axis, Y-axis 11 = Point, Perpendicular Curve 12 = Plane, Vector 13 = Plane, X-Axis, Point 14 = Origin, Z-Axis, X-Axis 15 = Origin, Z-Axis, Y-Axis
  • csysTag (Tag) – CSYS tag - On input the default CSYS. On output the CSYS picked. If csys_tag is not NULL, “option” will reflect the type of the CSYS If csys_tag is a non-associative CSYS, option will be set to Dynamic
Returns:

A Tuple

Return type:

A tuple consisting of (option,csysMatrix,origin,csysTag,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): CSYS Origin (3 element array) - relative to Absolute CSYS of Displayed Part

csysTag(Tag): Modified value of csysTag

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

License requirements: None