You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do i access a property of a viewer object to update it?
for example, i could update pt cloud points with pointcloudobj._data = pt_cloud.points . how do i access the colors (or pointsize) and update them?
pt_cloud, colors = load_point_cloud()
pointcloudobj._data = pt_cloud.points
# pointcloudobj._data['color'] = colors # does not work
pointcloudobj.update()
viewer.view.update()
i have compas_view2 0.5.0
Thanks
The text was updated successfully, but these errors were encountered:
I could find the solution in bufferobject init definition here: src/compas_view2/objects/bufferobject.py . its pointcloudobj.pointcolors = colors
i will close the issue , but compas_view2 would need eventually better Documentation
How do i access a property of a viewer object to update it?
for example, i could update pt cloud points with
pointcloudobj._data = pt_cloud.points
. how do i access the colors (or pointsize) and update them?i have compas_view2
0.5.0
Thanks
The text was updated successfully, but these errors were encountered: