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
I have a stage with a protein and a number of shapes in it. I would like to be able to select the shapes and change their representation (e.g. wireframe --> solid, or something similar) on click.
This only seems to return the x/y coordinates of the canvas selection point. How would I select a shape in the viewer and get the underlying object data?
The text was updated successfully, but these errors were encountered:
spadavec
changed the title
Get Object ID of Selected Shape
Get Object data of Selected Shape
Jan 3, 2023
Returns an object that contains pid, which lord as my witness, is the index of the array of objects in the canvas/viewer, which can be retrieved via pid.
I have a
stage
with a protein and a number of shapes in it. I would like to be able to select the shapes and change their representation (e.g. wireframe --> solid, or something similar) on click.I've tried the following:
This only seems to return the x/y coordinates of the canvas selection point. How would I select a shape in the viewer and get the underlying object data?
The text was updated successfully, but these errors were encountered: