Function Entry: VL-REMOVE-IF-NOT
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-REMOVE-IF-NOT
Name
vl-remove-if-not
Class
Visual LISP List Function
Syntax
(vl-remove-if-not predicate list)
Arguments and Values
predicate: subroutine or symbollist: list
Description
Returns all elements of the supplied list that pass the test function.
Return Values
Filtered list.
Side Effects
Side effects are those of calling predicate.
Notes
- Autodesk documents that
predicatemay be supplied as:- a symbol naming a function,
- a quoted lambda form,
- a
(function (lambda …))form.
- Autodesk documents that the result contains all elements for which
predicatereturns a non-nil value.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [vl-remove-if-not (AutoLISP)](https://help.autodesk.com/cloudhelp/2015/DEU/AutoCAD-AutoLISP/files/GUID-53D12042-8DE3-4DAA-83BD-8ABB376ACA97.htm)
- Status: documented.