This commit is contained in:
Andrej730
2024-10-28 11:23:35 +05:00
parent 86d0139f41
commit bdbe91f043
6 changed files with 25 additions and 21 deletions
@@ -17,6 +17,7 @@
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import ifcopenshell
import ifcopenshell.util.element
import ifcopenshell.util.geolocation
from typing import Union, Optional
@@ -23,6 +23,8 @@ import uuid
from .file import file
from .guid import compress
from .ifcopenshell_wrapper import version
from typing import Optional
# A quick way to setup an 'empty' IFC file, taken from:
# http://academy.ifcopenshell.org/creating-a-simple-wall-with-property-set-and-quantity-information/
@@ -68,17 +70,17 @@ DEFAULTS = {
def create(
filename=None,
timestring=None,
organization=None,
creator=None,
schema_identifier=None,
application_version=None,
timestamp=None,
application=None,
project_globalid=None,
project_name=None,
):
filename: Optional[str] = None,
timestring: Optional[str] = None,
organization: Optional[str] = None,
creator: Optional[str] = None,
schema_identifier: Optional[str] = None,
application_version: Optional[str] = None,
timestamp: Optional[str] = None,
application: Optional[str] = None,
project_globalid: Optional[str] = None,
project_name: Optional[str] = None,
) -> file:
d = dict(locals())
def _():