ifcopenshell.api.system.remove_system

Module Contents

ifcopenshell.api.system.remove_system.remove_system(file, system=None) None

Removes a distribution system

All the distribution elements within the system are retained.

Parameters:

system (ifcopenshell.entity_instance) – The IfcSystem to remove.

Returns:

None

Return type:

None

Example:

# A completely empty distribution system
system = ifcopenshell.api.run("system.add_system", model)

# Delete it.
ifcopenshell.api.run("system.remove_system", model, system=system)