I am using the following code to insert blocks because it allows me to prompt for the rotation angle.
(princ "\nSelect insertion point for block: ") (command "-insert" some_block "s" (getvar "dimscale") pause nil) (princ "\nRotation angle: ") (command "-insert" some_block "s" (getvar "dimscale") (getvar "lastpoint") pause)
The problem is that when there is are running osnaps and an osnap is manually selected the (getvar "lastpoint") returns the point picked by the running osnaps. For example with a running osnap of endpoint and selecting the midpoint of a line the (getvar "lastpoint") returns the endpoint. Is there another way that I should be doing this? Thanks Cliff