Execute script only for actively selected annotation + child annotations
41 views
Skip to first unread message
Emilio Madrigal
unread,
Mar 15, 2019, 11:16:40 AM3/15/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QuPath users
Is it possible to execute a script only for an actively selected polygon and descendent polygons, rather than for all annotations in a project? In my script I am using getAllObjects, but would prefer to execute the script for a selected annotation. selectAnnotations(); won't since it will select all annotations. Thank you
micros...@gmail.com
unread,
Mar 15, 2019, 11:49:24 AM3/15/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QuPath users
By default most commands (like cell detection) will work on the currently selected object. If you want some more reading about selecting things by script, check this out: