Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Conversation

@robbederks
Copy link

Option to enable outputting the current progress to the std:cerr stream.

@Moult
Copy link

Moult commented Mar 27, 2020

Hey @robbederks this repo is just for the build-bot. Do you mind submitting the PR into the main repository:
https://github.com/IfcOpenShell/IfcOpenShell

Also most of the work is being done on the v0.6.0 branch:
https://github.com/IfcOpenShell/IfcOpenShell/tree/v0.6.0

IfcOpenBot pushed a commit that referenced this pull request Dec 30, 2020
Apply changes done under Engisis to the IFCRail fork
IfcOpenBot pushed a commit that referenced this pull request Jul 11, 2021
IfcOpenBot pushed a commit that referenced this pull request Sep 14, 2022
IfcOpenBot pushed a commit that referenced this pull request May 24, 2023
Previously there was an error if you remove all drawings:
```
Traceback (most recent call last):
  File "\addons\blenderbim\bim\module\drawing\ui.py", line 182, in draw
    DrawingsData.load()
  File "\addons\blenderbim\bim\module\drawing\data.py", line 106, in load
    "active_drawing_pset_data": cls.active_drawing_pset_data(),
  File "\addons\blenderbim\bim\module\drawing\data.py", line 134, in active_drawing_pset_data
    drawing = ifc_file.by_id(bpy.context.scene.DocProperties.active_drawing_id)
  File "\addons\blenderbim\libs\site\packages\ifcopenshell\file.py", line 326, in by_id
    return self[id]
  File "\addons\blenderbim\libs\site\packages\ifcopenshell\file.py", line 314, in __getitem__
    return entity_instance(self.wrapped_data.by_id(key), self)
  File "\addons\blenderbim\libs\site\packages\ifcopenshell\ifcopenshell_wrapper.py", line 4517, in by_id
    return _ifcopenshell_wrapper.file_by_id(self, id)
RuntimeError: Instance #1 077 not found
```
IfcOpenBot pushed a commit that referenced this pull request Jul 6, 2023
…nteract-with-Brickschema

Interface to interact with brickschema PR #1
IfcOpenBot pushed a commit that referenced this pull request May 30, 2024
After ab5ea4c it was always throwing wrong singature errors like below even if TypeError was caused by some internal issues inside API - it was adding couple extra steps to traceback making errors more noisy.

TypeError: Incorrect function arguments provided for library.edit_library
attribute 'VersionDate' for entity 'IFC2X3.IfcLibraryInformation' is expecting value of type 'ENTITY INSTANCE', got 'str'.. You specified args (<ifcopenshell.file.file object at 0x0000027EB8E6BCD0>,) and settings {'library': #1=IfcLibraryInformation('Name','Version',$,$,$), 'attributes': {'Name': 'Name', 'Version': 'Version', 'VersionDate': 'VersionDate', 'Location': 'Location', 'Description': 'Description'}}
E
Correct signature is (file: ifcopenshell.file.file, library: ifcopenshell.entity_instance.entity_instance, attributes: dict[str, typing.Any]) -> None
See help(ifcopenshell.api.library.edit_library) for documentation.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants