MODIFY CS
From Macros Wiki
Command
- MODIFY_CS <cs number> <ORIGIN or ALIGN_H or ALIGN_V> [point or line data]
- Modify an existing CS by moving the origin or aligning the H or V axis with a line (or 2 points).
Parameters
- <cs number>
- CS number
- <modify type>
- ORIGIN=move origin or CS, ALIGN_H=align H axis or CS, ALIGN_H=align V axis or CS
- <point or line data>
- point or line data, depending on modify type
For ORIGIN, specify either the geometry reference number of a point, or 3 values for the XYZ position of the point.
For ALIGN_H or ALIGN_V, specify either the geometry reference number of a line, or 6 values for 2 sets of XYZ position for 2 points on a line.
Example
- MODIFY_CS 3, ORIGIN, 40 ! move the origin to point 40
- MODIFY_CS 3, ORIGIN, 1.5, 12.6, -18.125
- MODIFY_CS 3, ALIGN_H, 61 ! align the H axis with line 61
- MODIFY_CS 3, ALIGN_V, 1.5, 1.0, 0.0, 23.5, 1.0, 0.0