activates or deactivates the built-in Lisp Optimiser
(vlisp-optimizer enable)
returns the entity's value for specified DXF groupcode
(vle-entget dxfcode ename)
sets the entity's value for specified DXF groupcode
(vle-entmod dxfcode ename value)
sets the entity's value for specified DXF groupcode
(vle-alert title msg flags)
similar to (startapp), runs "cmd" command with 'args' arguments on the OS shell; depending on "mode", it can run synchroneously (inlined) or asynchroneously (parallel)
(vle-startapp cmd [args] [mode])
returns SelectionSet 'ss' members as a list
(vle-selectionset->list ss)
returns a COM (VLA) Collection (i.e. IAcadLayers) 'coll' as a list
(vle-collection->list coll)
starts a database transaction; returns t on success
(vle-start-transaction)
only 1 transaction level is supported, nested calls have no effect
finishes a previously started database transaction
(vle-end-transaction)
must be paired with (vle-start-transaction), even when nested; (vle-end-transaction) on a nested transaction level has no effect, only the outer-most (and only) transaction is finished; Lisp engine automatically ends an active transaction, i.e. in case or error, or when Lisp execution at top-level has finished
disabled or enables screen updates during Lisp execution
(vle-displaypause pauseScreen)
Lisp engine automatically re-enables screen updates, i.e. in case or error, or when Lisp execution at top-level has finished.
splits a string into tokens, using delimiter character(s) defined by 'keys'
(vle-string-split keys string)
reads the entire content of a file into a single Lisp list
(vle-file->list filename commentchar)
returns the nth0 member of list lst
(vle-nth0 lst)
replacement functions for (nth 0 lst)
returns the nth1 member of list lst
(vle-nth1 lst)
replacement function for (nth 1 lst)
returns the nth2 member of list lst
(vle-nth2 lst)
replacement function for (nth 2 lst)
returns the nth3 member of list lst
(vle-nth3 lst)
replacement function for (nth 3 lst)
returns the nth4 member of list lst
(vle-nth4 lst)
replacement function for (nth 4 lst)
returns the nth5 member of list lst
(vle-nth5 lst)
replacement function for (nth 5 lst)
returns the nth6 member of list lst
(vle-nth6 lst)
replacement function for (nth 6 lst)
returns the nth7 member of list lst
(vle-nth7 lst)
replacement function for (nth 7 lst)
returns the nth8 member of list lst
(vle-nth8 lst)
replacement function for (nth 8 lst)
returns the nth9 member of list lst
(vle-nth9 lst)
replacement function for (nth 9 lst)
returns the (cdr) value of a dotted-pair with 'key'
(vle-cdrassoc key lst)
replacement for (cdr (assoc key lst))
alias: (vle-get-cdrassoc) (vle-cassoc) (vle-get-cassoc)
changes the (cdr) value of a dotted-pair [key . value] to use new value 'val'
(vle-set-cdrassoc key lst val)
replacement for (subst (cons key val) (assoc key lst) lst)
alias: (vle-set-cassoc)
verifies whether 'obj' is contained in 'lst'
(vle-member obj lst)
replacement for (subst (cons key val) (assoc key lst) lst)
alias: (vle-find)
removes the first occurence of 'item' in 'lst', and returns modified list
(vle-remove-first item lst)
removes all occurences of 'item' within 'lst', and returns modified list
(vle-remove-all item lst)
(vle-remove-all) is identical to (vl-remove) function, included for consistency
removes the last item from 'lst' list
(vle-remove-last lst)
replacement for (reverse (cdr (reverse lst)))
removes the item at specified index 'idx' (0-based) from 'lst' list
(vle-remove-nth idx lst)
alias: (vle-remove-idx)
verifies whether 'item' is contained in list 'lst'
(vle-search item lst asIdx)
returns a sublist of 'lst' starting with item at position 'startidx'
(vle-sublist lst startidx nritems)
replaces the item at index 'idx' n list 'lst' with 'val'
(vle-subst-nth lst idx val)
alias: (vle-replace)
verifies whether 'obj' is of type STRING
(vle-stringp obj)
verifies whether 'obj' is of any number type
(vle-numberp obj)
(vle-numberp) is identical to (numberp) function
verifies whether 'obj' is of type REAL
(vle-realp obj)
verifies whether 'obj' is of type INTEGER
(vle-integerp obj)
verifies whether 'obj' is of type FILE
(vle-filep obj)
verifies whether 'obj' is of type ENAME
(vle-enamep obj)
verifies whether 'obj' is of type VLA-OBJECT
(vle-vlaobjectp obj)
verifies whether 'obj' is of type VARIANT
(vle-variantp obj)
verifies whether 'obj' is of type SAFEARRAY
(vle-safearrayp obj)
verifies whether 'obj' is of type STRING
(vle-stringp obj)
© Menhirs NV. All rights reserved. |