Minor typing hint and disable linear position elements from loading

This commit is contained in:
Dion Moult
2024-06-28 13:01:15 +10:00
parent 70bb0e5481
commit b616cafa49
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -519,7 +519,7 @@ class IfcImporter:
self.create_generic_elements(set(self.file.by_type("IfcReferent")))
# Loading IfcLinearElement for test purposes for now only.
# In the future we will make it lazy loaded and toggleable with a special UI.
self.create_generic_elements(set(self.file.by_type("IfcLinearElement")))
# self.create_generic_elements(set(self.file.by_type("IfcLinearElement")))
def create_grids(self):
if not self.ifc_import_settings.should_load_geometry:
@@ -37,7 +37,7 @@ def add_profile_representation(
# or by dictionaries of arguments for `Clipping.parse`
clippings: Optional[list[Union[Clipping, dict[str, Any]]]] = None,
placement_zx_axes: tuple[Union[VECTOR_3D, None], Union[VECTOR_3D, None]] = (None, None),
) -> None:
) -> ifcopenshell.entity_instance:
usecase = Usecase()
usecase.file = file
usecase.settings = {