from_inventory_instance

classmethod DbArray.from_inventory_instance(parent_inventory, instance)[source]

Create a DbArray instance from a mss_data_server.geometry.inventory.Array instance.

Parameters

parent_inventory (mss_data_server.geometry.inventory.Inventory) –

The parent inventory to which the instance is related.

instance: mss_data_server.geometry.inventory.Array

The instance used to create the DbArray instance.

Returns

The created array.

Return type

DbArray