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 40 41 42 43
|
.. _layout_manager:
Layout Manager
==============
.. module:: ezdxf.layouts
:noindex:
The layout manager is unique to each DXF drawing, access the layout manager as
:attr:`~ezdxf.document.Drawing.layouts` attribute of the
:class:`~ezdxf.document.Drawing` object
(e.g. ``doc.layouts.rename("Layout1", "PlanView")``).
.. class:: Layouts
The :class:`Layouts` class manages :class:`~ezdxf.layouts.Paperspace` layouts and
the :class:`~ezdxf.layouts.Modelspace`.
.. automethod:: __len__
.. automethod:: __contains__
.. automethod:: __iter__
.. automethod:: names
.. automethod:: names_in_taborder
.. automethod:: modelspace
.. automethod:: get
.. automethod:: new
.. automethod:: rename
.. automethod:: delete
.. automethod:: active_layout
.. automethod:: set_active_layout
.. automethod:: get_layout_for_entity
|