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
|
Blocks Section
==============
.. module:: ezdxf.sections.blocks
The BLOCKS section is the home all block definitions (:class:`~ezdxf.layouts.BlockLayout`) of a DXF document.
.. seealso::
DXF Internals: :ref:`blocks_section_internals` and :ref:`Block Management Structures`
.. class:: BlocksSection
.. automethod:: __iter__
.. automethod:: __contains__
.. automethod:: __getitem__
.. automethod:: __delitem__
.. automethod:: get
.. automethod:: new
.. automethod:: new_anonymous_block
.. automethod:: rename_block
.. automethod:: delete_block
.. automethod:: delete_all_blocks
|