itacad 发表于 2022-7-8 13:17:30

ATTOUT command and "handle" re

Hi, I'm using with satisfaction a command that I recently discovered: ATTOUT.
        The extraction creates a reference called "handle"...I ask if the alphanumeric code indicated is searchable within the file and how.
        Greetings

BIGAL 发表于 2022-7-8 13:35:54

Handles are a unique property of an object assigned by AutoCAD you can not change it or modify it in a dwg. You can search for an object via its "Handle".

CyberAngel 发表于 2022-7-8 13:54:18

A handle is like a serial number for an object in a drawing. You can always identify or select or modify an object if you have its handle.
         
        Unfortunately, handles are not much use unless you're writing a program. AutoLISP, for example, has a set of functions for working with individual objects. entget gives you the same information about an object that LIST does. entmod lets you change the properties of an object. entsel lets you select an object (or group of objects) in the drawing. Obviously, these commands are very powerful, but they can be very dangerous as well.

BIGAL 发表于 2022-7-8 14:06:54

A bit more look into (handent "handleID") lets you find an object and do something with it, (entdel (handent "handleID"))

itacad 发表于 2022-7-8 14:29:58

Thank you very much!
        I found this page useful on the subject:
        https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Selecting-or-zooming-to-an-entity-based-on-its-handle-identification-code.html
页: [1]
查看完整版本: ATTOUT command and "handle" re