Originally Posted by
rkmcswain
Command: -XREF
Enter an option [?/Bind/Detach/Path/Unload/Reload/Overlay/Attach] <Attach>: _B
Enter xref name(s) to bind: *
Command:
Also, if you want the "insert" option (versus "bind" option) you'll need to set the "bindtype" variable to "1"
I didn't test it, but I would assume you would add to your routine:
(setvar "bindtype" 1)
Update.. I tested this one:
Code:
;;;BIND-INSERT ALL LOADED XREFS
(defun c:bxr ()
(SETVAR "BINDTYPE" 1)
(COMMAND "-xref" "reload" "*" "");;reload all xrefs
(COMMAND "-xref" "bind" "*" "")
)
I tried this and it worked ok, but it tripped up if you have xrefs unloaded.
So I added the reload xrefs command too.
(which may be a problem if you didn't want that one in the file)