
Hello, Apologies if this is the wrong email address to contact about this. I am currently working on a privateer bundle for carbohydrate validation in chimeraX. At present, I have it so that the privateer tool will display SNFGs of glycans present in the structure using svgs displayed in a QWebEngineView(). I would like, if possible, on clicking elements of the svg to run a chimeraX command (view /chainID:resID) to centre the view window on the residue in question. At present, I can implement an onClick event to display the command that should be run, but haven't managed to figure out how to just run the command from within that QWebEngineView. Is there a mechanism already in place for doing something like this that I could take advantage of? I'd considered using the "log html" to display the svgs in the log instead of the WebEngineView() so that I could take advantage of the href="cxcmd" functionality, but the svgs are long, with semicolons and new-line characters which interfere with this. Best wishes, Lou Holland (Pronouns: they/them) Research Associate York Structural Biology Laboratory, Department of Chemistry, University of York, Heslington, YO10 5DD, York, UK