NXOpen.UF.Trns.CreateScalingMatrix¶
-
Trns.
CreateScalingMatrix
()¶ Refer to UF_TRNS_create_scaling_matrix for documentation.
Signature:
CreateScalingMatrix(type, scales, origin)
Parameters: - type (int) – Type 1 - Uniform 2 - Non-Uniform
- scales (list of float) – Scaling Factors. rp2[0] is Sx (or factors when type=1) rp2[1] is Sy (not used when type=1) rp2[2] is Sz (not used when type=1).
- origin (list of float) – Scaling Origin (Absolute Coordinates)
Returns: A Tuple
Return type: A tuple consisting of (matrix,status)
matrix(list of float): Scaling Matrix. This must be declared to hold 12 doubles.
status(int): Status Code 0 - Success 1 - Scaling Factor Is Not Greater Than Zero 2 - Invalid Option
License requirements: None