Herman, I like the sound of what I imagine you refrained from saying
there... 😮
--
James Allen
Malicoat-Winslow Engineers, P.C.
Columbia, MO
Herman Mayfarth wrote:
>> So from the language learning viewpoint, there is no difference,
>
> Well, yes and no.
>
> It should be true, but if you read anything on "how to program in LISP" &
> try to apply it to some of the Active X implementation, you will likely tear
> your hair out. Apart from (as you said) lack of documentation, some of these
> functions are atrocities, from a LISP point of view.
>
> Specifically, "how to" articles will tell you that well behaved LISP
> functions should return a value, which can be used as input to another
> function.
>
> However, some (many?) of the Active X functions, when called from LISP,
> return nil even if successful, while setting variables as side effects,
> instead of returning a value. You must guess what the side effects are (no
> real documentation) and, if you want a proper LISP function, write your own
> wrapper to bash the output into better shape so you can attempt to write
> some decent LISP with it. (Thx. to Tony T. for examples, long ago).
>
> quote TT:
>
>> In real OOP, you can not only use objects, you can
> define new classes of objects; give them properties
> and methods, etc., and you can derive new classes
> of objects from existing ones.
>
> Which maybe leaves the door open for 3rd party(ies) to bring this to
> AutoLISP, if anyone with the ability has also the desire.
> ( I don't see this happening. Who would pay for it? But then, there is ODCL,
> so who knows?)
>
> This looks more promising, to me:
>
> http://through-the-interface.typepad.com/through_the_interface/2008/10/au-handouts-aut.html
>
> Too bad you can't plug the "workbench" (or whatever it is called) into the
> AutoCAD command line.:)
>
> A note, the only way to *consume* the AX interface in ACAD 2010, using
> *only* what ships with the product, is AutoLISP.
>
> (Yes, you can download the VBA module, if you insist on riding a dead
> horse).
>
>