Skip to content

Blender BIM issue by using the Wall Tool #6535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AdamsBaxter opened this issue Apr 11, 2025 · 2 comments
Closed

Blender BIM issue by using the Wall Tool #6535

AdamsBaxter opened this issue Apr 11, 2025 · 2 comments
Labels

Comments

@AdamsBaxter
Copy link

os: Darwin
os_version: Darwin Kernel Version 23.6.0: Fri Jul  5 17:55:37 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6030
python_version: 3.11.11
architecture: ('64bit', '')
machine: arm64
processor: arm
blender_version: 4.4.0
bonsai_version: 0.8.1
bonsai_commit_hash: None
last_actions: 
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 54, "Name": "RAM200"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_append_library_element
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 63, "Name": "FLR200"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_append_library_element
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 67, "Name": "FLR300"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_append_library_element
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 21, "Name": "WAL50"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_append_library_element
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 26, "Name": "WAL100"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_append_library_element
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 30, "Name": "WAL200"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_append_library_element
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 34, "Name": "WAL300"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_append_library_element
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 96, "Name": "WT01"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_append_library_element
# ifcopenshell.api: project.append_asset
>>> {"library": "<ifcopenshell.file.file object at 0x3708e0590>", "element": {"cast_type": "entity_instance", "value": 210, "Name": "BUN01"}, "assume_asset_uniqueness_by_name": "True"}
# operator: BIM_OT_load_type_thumbnails
# operator: BIM_OT_hotkey
# operator: BIM_OT_hotkey
last_error: Traceback (most recent call last):
  File "/Users/mr.baxter/Library/Application Support/Blender/4.4/extensions/.local/lib/python3.11/site-packages/bonsai/bim/ifc.py", line 442, in execute_ifc_operator
    result = getattr(operator, "_execute")(context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mr.baxter/Library/Application Support/Blender/4.4/extensions/.local/lib/python3.11/site-packages/bonsai/bim/module/model/workspace.py", line 1117, in _execute
    getattr(self, f"hotkey_{self.hotkey}")()
  File "/Users/mr.baxter/Library/Application Support/Blender/4.4/extensions/.local/lib/python3.11/site-packages/bonsai/bim/module/model/workspace.py", line 1168, in hotkey_S_A
    return bpy.ops.bim.draw_polyline_wall("INVOKE_DEFAULT")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Applications/Blender.app/Contents/Resources/4.4/scripts/modules/bpy/ops.py", line 107, in __call__
    ret = _op_call(self.idname_py(), kw, C_exec, C_undo)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: RuntimeError: could not create instance of BIM_OT_draw_polyline_wall to call callback function 'invoke'
Location: /Applications/Blender.app/Contents/Resources/4.4/scripts/modules/bpy/ops.py:107


ifc: Unsaved
schema: IFC4
preprocessor_version: IfcOpenShell 0.8.1
originating_system: IfcOpenShell 0.8.1
@steverugi
Copy link

@AdamsBaxter please provide the steps in Bonsai prior to the issue, thanks

@Moult
Copy link
Contributor

Moult commented Apr 12, 2025

Fixed in latest, see #6396.

@Moult Moult closed this as completed Apr 12, 2025
@Moult Moult added the Bonsai label Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants