mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Minor fix from new patch recipe in PR #5441 (src no longer required)
This commit is contained in:
@@ -17,8 +17,7 @@ class Patcher:
|
|||||||
and assigns fraction values accordingly.
|
and assigns fraction values accordingly.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, src: str, file: ifcopenshell.file, logger: Logger, *args):
|
def __init__(self, file: ifcopenshell.file, logger: Logger):
|
||||||
self.src = src
|
|
||||||
self.file = file
|
self.file = file
|
||||||
self.logger = logger
|
self.logger = logger
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ from logging import Logger
|
|||||||
|
|
||||||
|
|
||||||
class Patcher:
|
class Patcher:
|
||||||
def __init__(self, file: ifcopenshell.file, logger: Logger, only_duplicates=False):
|
def __init__(self, file: ifcopenshell.file, logger: Logger, only_duplicates: bool = False):
|
||||||
"""Regenerate GlobalIds in an IFC model
|
"""Regenerate GlobalIds in an IFC model
|
||||||
|
|
||||||
All root elements in an IFC model must be identified by a unique Global
|
All root elements in an IFC model must be identified by a unique Global
|
||||||
|
|||||||
Reference in New Issue
Block a user