This commit is contained in:
Andrej730
2024-05-15 10:55:29 +05:00
parent 2fa30be0d0
commit bb8e84e5ec
48 changed files with 978 additions and 410 deletions
@@ -19,9 +19,12 @@
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.guid
from typing import Optional
def add_group(file, Name="Unnamed", Description=None) -> None:
def add_group(
file: ifcopenshell.file, Name: str = "Unnamed", Description: Optional[str] = None
) -> ifcopenshell.entity_instance:
"""Adds a new group
An IFC group is an arbitrary collection of products, which are typically