NXOpen.UF.View.SetViewMatrix¶
-
View.
SetViewMatrix
()¶ Refer to UF_VIEW_set_view_matrix for documentation.
Signature:
SetViewMatrix(cp1, ip2, np3, rp4)
Parameters: - cp1 (str) – View name (UF_OBJ_NAME_NCHARS character max) “” = Work view
- ip2 (int) – Matrix option 1 = Absolute csys 2 = WCS 3 = Use CSYS of object in np3 4 = Use matrix in rp4
- np3 (Tag) – Object identifier (If ip2=3)
- rp4 (list of float) – This argument is used when ip2 is 4. In this case, this will be the X-axis and Y-axis of the matrix (6 element array). rp4[0..2] will be the X-axis values and rp4[3..5] will be the Y-Axis values. The Z axis of the view matrix will be internally calculated by taking the cross product of the two input axis.
License requirements: None