LISP Namespaces
A namespace is a LISP environment that contains a set of symbols
(Variables and functions).
1. Document Namespaces
2. BlackBoard Namespaces
Setting and Retrieving Variables
1. Document Namespaces
Option-1 Storing and Retrieving variable while a drawing remains open.
Function Description Syntax
Sets the value of a variable
setq while a drawing remains (setq 'VarName VarValue)
open.
Retrieves the value of a
!VarName variable while a drawing !VarName
remains open.
Option-2
Function Description Syntax
Sets the value of a variable in
vl-doc-set (vl-doc-set 'VarName VarValue)
a document namespace
Retrievs the value of a
vl-doc-ref variable from a document (vl-doc-ref 'VarName)
namespace
VarValue)