Lock and Unlock Coordinates
The "Lock Object Coordinates" function in Easson2D lets specified objects continue using the coordinate system in effect when they were locked for coordinate calculation.
When a new coordinate system is subsequently established, translated, or rotated, locked objects do not change their displayed coordinates with the new coordinate system.
This function is especially suitable when a measurement program needs to use multiple coordinate systems.
Locking Object Coordinates
Click:
Coordinate → Lock Object Coordinates
The software asks you to enter, in sequence:
Start object numberEnd object number
For example, to lock objects 3–8, enter:
Start number: 3End number: 8
After confirming, the objects in this range are locked under the current coordinate system.
When finished, the software displays:
Coordinate locking complete!
Effect after Locking
After locking, if a new coordinate system is established:
- Unlocked objects display their coordinates according to the new coordinate system
- Locked objects still display their coordinates according to the coordinate system used at the time of locking
For example:
Circle 3 currently displays:
X = 10.000 mmY = 20.000 mm
After locking Circle 3 and then establishing a new coordinate system, the X, Y coordinates of other elements may change, but Circle 3 is still calculated according to the original coordinate system.
Locking Does Not Restrict Element Operations
"Lock Object Coordinates" only locks the coordinate system used by the object; it does not lock the entire geometric element.
After locking, you can still:
- Re-measure
- Modify elements
- Delete elements
- Perform other normal operations
If re-measuring causes the actual position of the element to change, its coordinate values under the locked coordinate system also change accordingly.
Therefore, this can be simply understood as:
What is locked is the coordinate reference system, not the element itself.
Locking Objects in Batches
This function supports batch operations by object number range.
For example, enter:
Start number: 1End number: 20
Then objects 1–20 are locked together.
The default range usually covers from the first object to the current last object, so if you need to lock everything, you can directly use the default number range.
Unlocking Object Coordinates
If you want locked objects to use the current coordinate system again, click:
Coordinate → Unlock Object Coordinates
Similarly, enter the range to unlock:
Start object numberEnd object number
After confirming, the software displays:
Coordinate unlocking complete!
Unlocked objects are immediately recalculated and displayed according to the current coordinate system, without the need to re-measure.
Usage Example
For example, a workpiece needs to be measured using two different coordinate systems.
First, complete part of the element measurement under coordinate system A.
If you want the coordinate results of these elements to remain based on coordinate system A, you can:
- Click "Coordinate → Lock Object Coordinates".
- Enter the object number range to lock.
- Complete the locking.
- Establish coordinate system B.
- Continue with the subsequent measurement.
At this point:
- Locked objects → continue using coordinate system A
- Newly measured or unlocked objects → use the current coordinate system B
If you later want the original objects to also use coordinate system B, simply perform "Unlock Object Coordinates".
Use in Programs
Locking and unlocking object coordinates can also be recorded in the measurement program.
After performing a lock or unlock operation during program recording, the software adds this step to the program.
When the program is played back, the corresponding coordinate locking or unlocking is executed automatically in the recorded order.
Therefore, in automatic measurement programs that need to switch coordinate systems multiple times, you can use this function to control which coordinate system different measurement results use.
Usage Notes
After locking, the interface does not show a lock icon or a special color indication.
Therefore, when multiple lock ranges are used in a complex program, it is recommended to arrange the program steps properly to avoid forgetting which objects are currently locked.
You can simply remember:
Lock Object Coordinates: let objects continue using the old coordinate system.Unlock Object Coordinates: let objects use the current coordinate system again.