File: appdata.rst

package info (click to toggle)
ezdxf 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104,528 kB
  • sloc: python: 182,341; makefile: 116; lisp: 20; ansic: 4
file content (39 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

Application-Defined Data (AppData)
==================================

Starting at DXF R13, DXF objects can contain application-defined codes (AppData)
outside of XDATA.

All AppData is defined with a beginning (102, "{APPID") tag and according to the
DXF reference appear should appear before the first subclass marker.

There are two known use cases of this data structure in Autodesk products:

- ``ACAD_REACTORS``, store handles to persistent reactors in a DXF entity
- ``ACAD_XDICTIONARY``, store handle to the extension dictionary of a DXF entity

Both AppIDs are not defined/stored in the AppID table!

.. module:: ezdxf.entities.appdata

.. class:: AppData

    Internal management class for Application defined data.

    .. seealso::

        - User reference: :ref:`application_defined_data`
        - Internals about :ref:`app_data_internals` tags

    .. automethod:: __contains__

    .. automethod:: __len__

    .. automethod:: add

    .. automethod:: get

    .. automethod:: set

    .. automethod:: discard