.. _create_spacedata_seq:

Creating a SpaceData object
===========================

The ``space`` function in the buildes module is used to initiate the creation of a ``SpaceData`` object. If the name for the new object is not a string, not unique or number of sides provided is 1 or less, the request will fail and the program will exit. Otherwise the data object is created and configured by the ``Space`` manager class as shown here.

.. _create_space_sequence:
.. figure:: ills/createSpaceSeq.*
   :align: center

   Creation of a ``SpaceData`` object