File size: 472 Bytes
985c397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.. SPDX-License-Identifier: LGPL-2.1-or-later

The FreeCAD Document Object
===========================

.. toctree::
   :maxdepth: 4

.. automodule:: DocumentObject

   .. autoclass:: DocumentObject
      :members:

      .. method:: __setstate__(value)

         allows to save custom attributes of this object as strings, so they can be saved when saving the FreeCAD document

      .. method:: __getstate__()

         reads values previously saved with __setstate__()