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

(vlax-ename->vla-object...) problem

9 views
Skip to first unread message

Daniele Piazza

unread,
Jul 22, 1998, 3:00:00 AM7/22/98
to
The code...

_$ (setq e (car (entsel)))
<Entity name: 27e0540>
_$ (vlax-ename->vla-object e)
#<VLA-OBJECT IAcadLWPolyline 03f713a0>

....in my version of VLISP return nil.

_$ (setq e (car (entsel)))
<Entity name: 27e0540>
_$ (vlax-ename->vla-object e)
nil


The function (vlax-ename->vla-object...) alwayse return "nil".
Can you help me?

Daniele Piazza

Jon Fleming

unread,
Jul 22, 1998, 3:00:00 AM7/22/98
to
Wow. It works for me; I can't think of anything that could make it always
return nil.

jrf

FLMay...@my-dejanews.com

unread,
Jul 22, 1998, 3:00:00 AM7/22/98
to
In article <VA.0000041...@main.fleming-group.com>,

Daniele - You are picking a LWPolyline, right? If so, do an entget on e. Then
do an (assoc 10 ... ) on it. See if the the Z value is something
astronomical. It should probably be 0.0.

I ran into this problem using Vital Lisp 3.2 I have a patch they gave me that
I can forward to you if this is the problem.

Good luck.
>

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum

Richard Henley

unread,
Jul 22, 1998, 3:00:00 AM7/22/98
to
Daniele Piazza wrote:

What version of Visual Lisp are you using ? Are you using our Final
version ? Is this a custom object or just a LWPOLYLINE ? If it's a
custom object it can easily be returning nil, BUT a LWPolyline should
work for you with our Final Version of VL.

0 new messages