File: reactors.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 (25 lines) | stat: -rw-r--r-- 815 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
.. _reactors:

Reactors
========

Persistent reactors are optional object handles of objects registering
themselves as reactors on an object. Any DXF object or DXF entity may have
reactors.

Use the high level methods of :class:`~ezdxf.entities.DXFEntity` to manage
persistent reactor handles.

- :meth:`~ezdxf.entities.DXFEntity.has_reactors`
- :meth:`~ezdxf.entities.DXFEntity.get_reactors`
- :meth:`~ezdxf.entities.DXFEntity.set_reactors`
- :meth:`~ezdxf.entities.DXFEntity.append_reactor_handle`
- :meth:`~ezdxf.entities.DXFEntity.discard_reactor_handle`

*Ezdxf* keeps these reactors only up to date, if this is absolute necessary
according to the DXF reference.

.. seealso::

    - Internals about :ref:`reactors_internals`
    - Internal Reactors management class: :class:`~ezdxf.entities.appdata.Reactors`