The following correct behaviour seems to be a fault? (v5.11.2)
When I make changes to a grid unit and /or distance using the dialog and
then read the settings with UL_GRID, I get results that are inconsistent..
Setting GRID from the command line it works as expected as described by HELP
(CORRECT BEHAVIOUR)
GRID mic 1000
Read with UL_GRID
UNIT = 0 (mic)
UNITDIST = 0 (mic)
DISTANCE = 1000
GRID mm
Read with UL_GRID
UNIT = 1 (mm as expected)
UNITDIST = 0 (mic)
DISTANCE = 1000
GRID mil
Read with UL_GRID
UNIT = 2 (mil as expected)
UNITDIST = 0 (mic)
GRID inch
Read with UL_GRID
UNIT = 3 (inch as expected)
UNITDIST = 0 (mic)
Using the mouse and the GRID dialog I cannot get the above to happen
reliably (WRONG BEHAVIOUR)
I manually set GRID mic 1000
Read with UL_GRID
UNIT = 0 (mic as expected)
UNITDIST = 0 (mic as expected)
But if I return to the dialog and select INCH/OK
Read with UL_GRID
UNIT = 3 (inch as expected )
UNITDIST = 3 (inch was NOT expected -should have remained as 0)
Starting again with
UNIT = 0 (mic as expected)
UNITDIST = 0 (mic as expected)
I return to the dialog and select MM/OK
Read with UL_GRID
UNIT = 1 (mm as expected)
UNITDIST = 0 (mic as expected)
DISTANCE = 1000
I return to the dialog and select MIL
Read with UL_GRID
UNIT = 2 (mil as expected)
UNITDIST = 2 (mil was NOT expected - should have remained as 0}
Some variations of the above do work correctly
I manually set GRID inch 0.01
Read with UL_GRID
UNIT = 3 (inch as expected )
UNITDIST = 3 (inch as expected)
I return to the dialog and select MM/OK
UNIT = 1 (mm as expected )
UNITDIST = 3 (inch as expected)
mil and mic work OK in this direction as well
So an increasing UNIT has problems but a decreasing UNIT does not.
Warren
--
Viewed / responded via the newsgroup at
news.cadsoft.de