Back to Freecad

The FreeCAD Document Object

src/Doc/sphinx/DocumentObject.rst

1.1.1424 B
Original Source

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__()