modelx.new_space#

new_space(name=None, bases=None, formula=None)[source]#

Create and return a new space in the current model.

The currentspace of the current model is set to the created model.

Parameters:

name (str, optional) – The name of the space to create. Defaults to SpaceN, with N being an automatically assigned integer.

Returns:

The new space.