Shift the Origin
- Last UpdatedApr 27, 2023
- 1 minute read
The origin code can be set in two ways. If the ORIG keyword is used (for example, ORIG @ to set by cursor), the Sheet coordinates of the origin change such that the origin moves to the specified part of the primitive - the primitive itself does not move. The origin code can also be changed by the OCOD keyword, for example
OCOD CEN
OCOD @
In this case the Sheet coordinates of the origin remain unchanged and the primitive moves so as to place itself correctly according to the new origin code.
In either case the origin position can be changed at the same time by using commands, for example:
ORIG X300 Y250
OCOD TRIGHT @
OCOD BLEFT @