Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing "handle" name 1

Status
Not open for further replies.

bighappy11

Civil/Environmental
Aug 29, 2006
14
US
Is it possible to change the handle name of a drawing element?? i.e. polygon, polyline, etc.
 
Replies continue below

Recommended for you

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
 
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
 
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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top