ifcopenshell.api.system.remove_system#

Module Contents#

class ifcopenshell.api.system.remove_system.Usecase(file, system=None)#

Removes a distribution system

All the distribution elements within the system are retained.

Parameters

system (ifcopenshell.entity_instance.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)
execute(self)#