To Assign a Value to and Use the *obj* IDE Global Variable (Visual LISP IDE)

The *obj* IDE global variable can be used when debugging a program.

Note: The Visual LISP IDE is available on Windows only.
  1. In Visual LISP, click View Inspect.
  2. In the Inspect window, Elements list, right-click an element and click Copy.
  3. At the Console window prompt, type *obj* and press Enter.

    You can also enter !*obj* at the AutoCAD Command prompt or use the variable in an AutoLISP program like you would with an user-defined variable.