_$ (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
jrf
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
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.