vlax-invoke-method function calls an ActiveX method directly. The function requires the following arguments:
Thevlax-invoke-method depends on the method being invoked.
The return value frommspace variable) of the current AutoCAD drawing:
For example, the following invokes the AddCircle method to draw a circle in the model space (represented by the_$ (setq mycircle
(vlax-invoke-method mspace 'AddCircle circCenter 3.0))
#<VLA-OBJECT IAcadCircle 00bfd6e4>
circCenter is a variant (containing a three-element array of doubles) identifying the center of the circle, and 3.0 is the radius of the circle. The method returns a VLA-object, the circle drawn.
In this example,