mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
typing
This commit is contained in:
@@ -29,11 +29,8 @@ def unassign_system(
|
||||
"""Unassigns list of products from a system
|
||||
|
||||
:param products: The list of IfcDistributionElements to unassign from the system.
|
||||
:type products: list[ifcopenshell.entity_instance]
|
||||
:param system: The IfcSystem you want to unassign the element from.
|
||||
:type system: ifcopenshell.entity_instance
|
||||
:return: None
|
||||
:rtype: None
|
||||
|
||||
Example:
|
||||
|
||||
@@ -52,9 +49,4 @@ def unassign_system(
|
||||
# Not anymore!
|
||||
ifcopenshell.api.system.unassign_system(model, products=[duct], system=system)
|
||||
"""
|
||||
settings = {
|
||||
"products": products,
|
||||
"system": system,
|
||||
}
|
||||
|
||||
ifcopenshell.api.group.unassign_group(file, products=settings["products"], group=settings["system"])
|
||||
ifcopenshell.api.group.unassign_group(file, products=products, group=system)
|
||||
|
||||
Reference in New Issue
Block a user