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-for is the corresponding special-form iteration facility.
  • Autodesk documents this as applying function to 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.

Compatibility

Available only on Windows; not available on macOS or Web.