The cursor text box can be hidden in 3D by pressing H. This does not work for annotation. Often, the cursor text box hides objects that need to be seen. Pressing H should work the same in annotation as it does in 3D.
That worked very well. I wrote a lisp program and then load that lisp program with our am_customize. Then I added the shortcut key to am_shortcuts.acc. This gave everybody access to the program and the short cut key.
first the lisp file loads the macro, then it incorporates a command to use the macro.
;;-------------------------------------------------------------------------- ;; ;; Creo Elments - Direct - Annotation ;; Hide the cursor text bos in Annotation ;; created by Tom Kirkman ;; ;;-------------------------------------------------------------------------- (oli::sd-execute-annotator-command :cmd "INPUT '//susosg175/sd/O-I_customization/sdcorp/O-I_Standard-config/macros/cursor_text_box_on_off.m'") (in-package :OI_TOOLS) (use-package :OLI)
(sd-define-available-command "Annotation" "O-I Commands" "cursor box on/off" :CommandTitle "Cursor Box On/Off" :action "(OLI::sd-execute-annotator-command :cmd \"cursor_text_box_on_off\")" :description "Toggle the cursor box on or off"
:ui-behavior :DEFAULT)
cursor_text_box_on_off macro
DEFINE Cursor_text_box_on_off INQ_ENV 19 IF ((INQ 605) = ON) UA_DIMENSION_FEEDBACK OFF ELSE UA_DIMENSION_FEEDBACK ON END_IF END_DEFINE