Function Entry: VLAX-MAP-COLLECTION
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VLAX-MAP-COLLECTION
Name
vlax-map-collection
Class
Visual LISP automation iterator
Syntax
(vlax-map-collection collection function)
Arguments and Values
collection— automation collection object.function— function designator applied to each member.
Description
Applies a function to each element of an automation collection.
Return Values
Autodesk's documentation specifies traversal semantics but does not state a precise aggregate return-value contract. This specification therefore treats the return value as under-specified.
Exceptional Situations
Signals an AutoLISP-visible error if collection is not an automation collection or if applying function fails.
Notes
vlax-foris the corresponding special-form iteration facility.- Autodesk documents this as applying
functionto every object in the collection. - The primary observable contract is side-effecting traversal.
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
- [About Working With Collection Objects (AutoLISP/ActiveX)](https://help.autodesk.com/cloudhelp/2026/ESP/AutoCAD-AutoLISP/files/GUID-100F8BDB-2852-4986-BC09-53F77AFCDB96.htm)
- [V Functions Reference (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-26FF2BE2-B5BF-4DD1-A617-36727E51F516.htm)
Compatibility
Available only on Windows; not available on macOS or Web.