# GET CS MATRIX

From Macros Wiki

### Command

- GET_CS_MATRIX <cs number>, <matrix array> [<local CS WP>]

- Get the transformation matrix that defines a CS.

### Parameters

- <cs number>
- CS number.
- <matrix array>
- Name of Matrix variable.
- <local CS WP>
- Get the matrix in the workpiece coordinate system (1=yes, 0=no, default 0)

### Example

- LOCAL Mat1(12)
- GET_CS_MATRIX 4, Mat1

- This gets the transformation matrix used to define CS 4.