GET CS MATRIX

From Macros Wiki
Revision as of 13:10, 23 December 2016 by Mikeo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Up

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.