Function Entry: VLISP-IMPORT-SYMBOL
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VLISP-IMPORT-SYMBOL
Name
vlisp-import-symbol
Class
BricsCAD VLX Namespace Function (obsolete)
Syntax
(vlisp-import-symbol symbolOrList)
Arguments and Values
- symbolOrList
- a single Lisp symbol (string or symbol)
- or a list of Lisp symbols
Description
This function imports the specified symbol / variable (or the list of symbols / variables) from the global document namespace (where normal Lisp code is operating) to the current VLX namespace. It imports the actual value of the symbol / variable, not a "reference" to the symbol / variable ! If the value is changed in global document namespace, the symbol / variable need to be re-imported again. see (vl-doc-ref)
Return Values
the value of the last evaluated symbol / variable
Examples
(vlisp-import-symbol 'MyVar1) returns the value of "MyVar1" (vlisp-import-symbol (list 'MyVar1 'MyVar2 'MyVar3)) returns the value of "MyVar3"
Notes
if (vlisp-import-symbol) is called from the global document namespace, then it does nothing and returns the value of the last evaluated symbol / variable;
obsolete function ! please use (vl-doc-ref)
Availability
- AutoCAD 2026: not documented.
- BricsCAD V26: documented.
- Status: BricsCAD-only.
Source Notes
- [vlisp-import-symbol (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/vlispimportsymbol.htm)
- Status: documented (Phase 3 follow-up: body filled from the BricsCAD V26 per-symbol page on 2026-04-26).