-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi,
The script plantarch_collision_sample.py mostly runs fine, until the 5th example which raises the following error :
Plant 0 has 215 collision-relevant objects
Traceback (most recent call last):
File "/home/gxbouvry/Documents/temporaire/pyhelios/plantarch_collision_sample.py", line 397, in <module>
example_organ_filtering()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/gxbouvry/Documents/temporaire/pyhelios/plantarch_collision_sample.py", line 283, in example_organ_filtering
context.setObjectColor(obj_id, RGBcolor(1, 0, 0)) # Red highlight
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Context' object has no attribute 'setObjectColor'. Did you mean: 'getObjectCount'?I just installed pyhelios v0.1.17 using pip and copy/pasted the example from docs/examples/plantarch_collision_sample.py to test my installation.
Is this an issue on my side ?
Best regards,
Arnaud Bouvry
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels