Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Visual LISP and vla-GetEntity

3 views
Skip to first unread message

Bill Kimbrell

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to

In the Visual LISP console the function vla-GetEntity will turn blue,

but went I run the following I get an error.


_$ (vla-GetEntity CurrentModelSpaceObject 'myObject 'myPickedPoint "Pick
Something...")

; *** ERROR: unknown name: "GetEntity"


Could someone tell me why this is.

Thank you
Bill.K...@woolpert.com

Richard Henley

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to
First, GetEntity is a Method of the Utility Object not the ModelSpace
object. And Secondly, we state the following in the VL ReadMe:

f. ActiveX: Some objects are not exposed correctly
-----------------------------------------------

Methods exposed by the Selection Set, Utility, and ViewPort
objects do not function correctly in Visual LISP.
VLA- functions should not be used on these objects.


Bill Kimbrell wrote in message <6reo9p$2m...@adesknews2.autodesk.com>...

Bill Kimbrell

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to
Richard,
Thank you for your help.

Bill Kimbrell


Tony Tanzillo

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to
Bill - It looks like Richard using the incorrect
information in the readme as a catch-all for anything
which doesn't work, even if he doesn't know why.

In this case, it looks like vla-GetEntity is broken,
because it should accept quoted symbols for the first
two arguments (which are both output arguments), but
it's expecting a VLA-OBJECT for the first argument
instead.

Someday, they'll have this thing fixed. Then, they
might be able to figure out how works. Until then,
use (entsel).

Bill Kimbrell wrote:
>
> In the Visual LISP console the function vla-GetEntity will turn blue,
>
> but went I run the following I get an error.
>
> _$ (vla-GetEntity CurrentModelSpaceObject 'myObject 'myPickedPoint "Pick
> Something...")
>
> ; *** ERROR: unknown name: "GetEntity"
>
> Could someone tell me why this is.
>
> Thank you
> Bill.K...@woolpert.com

--
/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* Co-Author of Maximizing AutoCAD R13 and */
/* Maximizing AutoLISP for AutoCAD R13/R14 */
/* ----------------------------------------------------- */
/* tony.t...@worldnet.att.net */
/* http://ourworld.compuserve.com/homepages/tonyt */
/*********************************************************/

Bill Kimbrell

unread,
Aug 20, 1998, 3:00:00 AM8/20/98
to

Tony,
Thanks. That helps to make the issue a little clearer
and now I know I'm doing the best I can by using entsel.

Bill Kimbrell

0 new messages