Some ActiveX methods require that you supply them with variables into which the methods can place values.
The GetBoundingBox method is an example of this type of method. The MinPoint and MaxPoint parameters are described as output only. You must provide output arguments as quoted variable names. The following example shows an AutoLISP function call to return the minimum and maximum bounding points of a circle:
(vla-getboundingbox myCircle 'minpoint 'maxpoint) nil
The values output by vla-getboundingbox are stored in the MinPoint and MaxPoint variables as safearrays of three doubles. You can view the values using vlax-safearray->list:
(vlax-safearray->list minpoint) (1.0 1.0 -1.0e-008) (vlax-safearray->list maxpoint) (5.0 5.0 1.0e-008)