;As per T.Willeys suggestion.... ;Here is the code... ;pt8 is the point I am trying to get it to pick...... (defun hatchcompit () (princ " in hatchcompit ") (setq saveosnapcoord (getvar "osnapcoord")) (setvar "osnapcoord" 1) (setvar "pickbox" 0) (setvar "osmode" 0) (setq temp (getvar "osmode")) (princ " osmode is: ") (princ temp) (if (eq cuttype "$punch") (command "_bhatch" "properties" "ANSI31" "0.5" "0" "advanced" "island" "yes" "retain" "no" "" "non" pt8 "") (command "_bhatch" "properties" "solid" "advanced" "island" "yes" "retain" "no" "" "non" pt8 "") ) (setvar "osnapcoord" saveosnapcoord) (command "change" (entlast) "" "P" "layer" "SHOW_COMP" "") (princ " in rtgcode and cuttype is: ") (princ cuttype) );end defun