Function Entry: VLAX-TMATRIX

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VLAX-TMATRIX

Name

vlax-tmatrix

Class

ActiveX Function

Syntax

(vlax-tmatrix lst)

Arguments and Values

  • lst: a list of four sublists, each containing four numbers; the rows of a 44 transformation matrix.

Description

Converts a nested list into a variant suitable for VLA methods that take a 44 transformation matrix (e.g. vla-transformby).

Return Values

A variant of type safearray representing the 44 matrix.

Side Effects

None.

Examples

  • Build a matrix:

    (setq tmatrix (vlax-tmatrix '((1 1 1 0) (1 2 3 0) (2 3 4 5) (2 9 8 3))))
    
  • Inspect the result:

    (vlax-safearray->list (vlax-variant-value tmatrix))
    

Availability

  • AutoCAD 2026: documented (Windows only — ActiveX surface).
  • BricsCAD V26: presumed compatible (BricsCAD ActiveX layer is Windows-centric).
  • Status: AutoCAD-Windows documented; BricsCAD parity TBD.

Source Notes