坐标测量机 (CMM) > Coordinate Systems > Example 2: Using Custom Transformation
  
Example 2: Using Custom Transformation
To create a Ref Csys using your custom command CODE1, which takes two arguments, A and B, do the following:
1. Click Inspect > Reference Coordinate System. The REF CSYS dialog box opens.
2. From the Parent Csys drop-down list, select MACH CSYS
3. Select Custom from the Transform Type drop-down list.
4. Type CODE1 in the Function Name
box.
5. Type A, B in the Function Args
box.
6. To specify degrees of freedom, select the required check boxes for directions and rotations.
7. Select a Measured or Constructed feature to be used as datum reference.