Look at AutoLISP Reference about " vl-doc-set" Sets the value of a variable in the current document's namespace. (vl-doc-set 'symbol value) This function can be used by a VLX application to set the value of a variable that resides in the current document's namespace. If executed within a document namespace, vl-doc-set is equivalent to set. I am not yet understand,what is the meaning "document's namespace"? then look at sample; _$ (vl-doc-set 'foobar "Rinky dinky stinky") "Rinky dinky stinky" _$ (eval foobar) "Rinky dinky stinky" I thought "(vl-doc-set 'foobar "Rinky dinky stinky") " same as with (setq foobar "Rinky dinky stinky") !!