File: layout_manager.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 (43 lines) | stat: -rw-r--r-- 888 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
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