Returns the third element of a list
(caddr list)
caddr is frequently used to obtain the Z coordinate of a 3D point (the third element of a list of three reals).
In AutoLISP,Arguments
A list.
Return Values
nil, if the list is empty or contains fewer than three elements.
The third element in list; otherwiseExamples
Command: (setq pt3 '(5.25 1.0 3.0))
(5.25 1.0 3.0)
Command: (caddr pt3)
3.0
Command: (caddr '(5.25 1.0))
nil
Point Lists topic in the AutoLISP Developer's Guide.
The