Share

vl-doc-set (AutoLISP)

Product Documentation
Intermediate

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"


Was this information helpful?