in the LASTANGLE variable.
Thanks for the help HMSP
But the variable LASTANGLE does not store the last angle to rotate command.
I posted the Results below.
Command: _rotate
Current positive angle in UCS: ANGDIR=counterclockwise ANGBASE=0
Select objects: 1 found
Select objects:
Specify base point: _mid of
Specify rotation angle or [Copy/Reference] <0>: 90
Command: (getvar "lastangle")
0.0