Skip to content

toggle_visibility & set_color returning error message #6

Open
@parhasard

Description

@parhasard

Hi

I get this error message when I try to toggle visibility of items in the IFC file:

Traceback (most recent call last):
File "", line 22, in
File "ifcopenshell\geom\app.py", line 515, in toggle_visibility
File "ifcopenshell\geom\app.py", line 505, in toggle
File "ifcopenshell\geom\app.py", line 511, in visibility
File "OCC\Core\AIS.py", line 5230, in Erase
TypeError: in method 'AIS_InteractiveContext_Erase', argument 2 of type 'opencascade::handle< AIS_InteractiveObject > const &'

Additionally, 'viewer' object seems to be missing some attributes like 'set_color', get_selection_set'. ("highlight all selected products" in the snippets as an example)

Best Regards
Hazar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions