×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Changing "handle" name

Changing "handle" name

Changing "handle" name

(OP)
Is it possible to change the handle name of a drawing element??  i.e. polygon, polyline, etc.

RE: Changing "handle" name

handles are assigned by AutoCAD and can't be changed. They stay the same for the life of the object.

"Everybody is ignorant, only on different subjects." — Will Rogers

RE: Changing "handle" name

I don't think so, but I don't know.  I think it is just a random identifier the software sets to an object.

Just curious, what are you trying to do?

Engineering is the practice of the art of science - Steve

RE: Changing "handle" name

(OP)
I am adjusting a cad drawing to preparation for GIS translation, but i have yet been able to identify the polygon in cad for gis with an attribute table.  the only recognizable tag is the "handle" name and layer.

RE: Changing "handle" name

1. What does this sentence mean?

"I am adjusting a cad drawing to preparation for GIS translation, but i have yet been able to identify the polygon in cad for gis with an attribute table."

It seems like there are several words missing.

2. The handle of an object does not change from one autocad session to the next, however the entity name of the object will change. Both the handle & the entity name are assigned by autocad.

3. You cannot identify (and therefore manipulate) a polyline with an attribute table. However, you can select it (or other graphical objects) several different ways, including by the handle name. Another way to select a polyline or line or circle, etc., is by specifying the object type and a 3D coordinate associated with it. Example:

CODE

(setq ss
  (ssget "X"
    (list '(0 . "line")
          (cons 10 '(-1 -1 0))
    )
  )
)
This grabs all the objects (usually just one) that are lines and that have a start point of -1,-1,0.

HTH,
Dave

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources