vl-doc-set

AutoCad AutoLISP Functions

 
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.

Arguments

'symbol

A symbol naming a variable.

value

Any value.

Return Values

The value set.

Examples

Command: (vl-doc-set 'foobar "Rinky dinky stinky")

"Rinky dinky stinky"

See Also