File: dxflayout.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 (92 lines) | stat: -rw-r--r-- 2,248 bytes parent folder | download
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
DXFLayout
=========

.. module:: ezdxf.entities
    :noindex:

`LAYOUT`_ entity is part of a modelspace or paperspace layout definitions.

======================== ===========================================================
Subclass of              :class:`ezdxf.entities.PlotSettings`
DXF type                 ``'LAYOUT'``
Factory function         internal data structure, use :class:`~ezdxf.layouts.Layouts` to
                         manage layout objects.
======================== ===========================================================

.. _LAYOUT: http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-433D25BF-655D-4697-834E-C666EDFD956D


.. class:: DXFLayout

    .. attribute:: dxf.name

        Layout name as shown in tabs by :term:`CAD` applications

    .. attribute:: dxf.layout_flags

        === =========================================================================
        1   Indicates the PSLTSCALE value for this layout when this layout is current
        2   Indicates the LIMCHECK value for this layout when this layout is current
        === =========================================================================

    .. attribute:: dxf.tab_order

        default is 1

    .. attribute:: dxf.limmin

        default is Vec2(0, 0)

    .. attribute:: dxf.limmax

        default is Vec2(420, 297)

    .. attribute:: dxf.insert_base

        default is Vec3(0, 0, 0)

    .. attribute:: dxf.extmin

        default is Vec3(1e20, 1e20, 1e20)

    .. attribute:: dxf.extmax

        default is Vec3(-1e20, -1e20, -1e20)

    .. attribute:: dxf.elevation

        default is 0

    .. attribute:: dxf.ucs_origin

        default is Vec3(0, 0, 0)

    .. attribute:: dxf.ucs_xaxis

        default is Vec3(1, 0, 0)

    .. attribute:: dxf.ucs_yaxis

        default is Vec3(0, 1, 0)

    .. attribute:: dxf.ucs_type

        === =========================
        0   UCS is not orthographic
        1   Top
        2   Bottom
        3   Front
        4   Back
        5   Left
        6   Right
        === =========================

        default is 1

    .. attribute:: dxf.block_record_handle

    .. attribute:: dxf.viewport_handle

    .. attribute:: dxf.ucs_handle

    .. attribute:: dxf.base_ucs_handle