You have a list of points:
(while (setq p (getpoint "\n Specify point: ")) (setq pt-list (cons p pt-list)))
Example:
(setq pt-list '((0. 5. 0.) (1. 10. 0.) (-2. 0. 10.) (-18. 3. -4.)))
;; Explanation - all point 3D
It is necessary to receive the dimensional container of this list
As vla-GetBoundingBox, only list point...
Write two programs:
The first program: - calculates 3D list point
(GetBoundingBox-3d pt-list) = >> '((-18.0 0.0 -4.0) (1.0 10.0 10.0))
;; Explanation - return '((min-X min-Y min-Z) (max-X max-Y max-Z))
The second program: - calculates 2D list point
(GetBoundingBox-2d pt-list) = >> '((-18.0 0.0) (1.0 10.0))
;; Explanation - return '((min-X min-Y) (max-X max-Y))
PS. Last time, I have written not clearly...
Ask also I shall explain once again!