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

help with Object naming in Lisp

0 views
Skip to first unread message

CC1964CAD

unread,
Dec 30, 1997, 3:00:00 AM12/30/97
to

How can I either recall (or assign) a name to an entity, block,
or group that will remain the same from one drawing session to
another. I want to be able to prompt the user to select an
object once and than do muliple editing operations to it all through
Lisp. I know that entsel returns the info. that I need but it
changes from session to session.
Any ideas????

Thanks for your time,
Chris
cc19...@aol.com

KHoriski

unread,
Dec 30, 1997, 3:00:00 AM12/30/97
to

>Subject: help with Object naming in Lisp
>From: cc19...@aol.com (CC1964CAD)
>Date: Mon, Dec 29, 1997 21:39 EST
>Message-id: <19971230023...@ladder02.news.aol.com>

AutoCAD added "Handles" to each entity to allow you the ability to refer to
the same object(s) throughout multiple drawing sessions. The handle does not
change (unlike the <ename>). You can get an objects handle by using the dxf
code 5 with the entity association list. If you have the handle and wish to
get the ename:
(handent "HANDLE") will return it (replace "HANDLE" with the variable that
contains the handle name

Good luck

Ken Horiski

0 new messages