Autolisp Entity Appidname

Discussion in 'AutoCAD' started by jpjccd, Mar 31, 2010.

  1. jpjccd

    jpjccd Guest

    Is there a way to find out using autolisp what an entity's appidname
    is? I have all kinds of information that assumes that the programmer
    already knows the appidname and how to register it; but, I can find
    nothing on how to determine what an entity's appidname might be, if it
    has one. I just need to be able to select the entity, and have the
    information available.

    Thanks
     
    jpjccd, Mar 31, 2010
    #1
  2. This response is not based on very detailed investigation but here it
    goes:

    An AppID is the id of an application that is used to add xdata to an
    Acad object. The object does not seem to store the appId that has been
    used to add xdata to that object. Also, the added fact is that you can
    add xdata with multiple appids to the same object. So, there can be
    many appids associated with an acad object.

    All the appids are stored in a table.

    The only direct link between an appid and an object is that when you
    use (entget <ename> <appidname> ) than the xdata is listed using -3
    dxf code.

    So, you will have to get all appids in the drawing and test each with
    the object of your interest using the appid in the entget and see if
    it dispalys any xdata.

    It has a few pitfalls though.

    If an appid is not associated with an object, no error is generated.
    So if an appid did not add any data to the object, then you don't know
    whether this appid is not associated with the object or is associated
    but has not added any xdata.

    You can start from here and check how it can work for you.

    Please post if you need more information.

    Sanjay Kulkarni<http://www.linkedin.com/in/sanjaykulkarnipune>
    skype ID: sanjay.kulkarni.pune
    Contact: 091 98904 92541 / 091 020 2546 3255
     
    Sanjay Kulkarni, Apr 9, 2010
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.