-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional tutorial entries for code snippets #1556
Comments
moving this and #1482 to the final 3.0 beta milestone, as it is low-risk |
Bump - are there any existing tools for loading regions? |
@keflavich you can load regions into the current active image using await app.importRegion(directory, filename, regionType); where |
perfect, thank you! Related: is there a |
This might be a bit slow for 100 regions (it will do a filter for each deletion, so it probably O(N²). I'd like to add a for (const region of app.activeFrame.regionSet.regions) {
app.activeFrame.regionSet.deleteRegion(region);
} |
yes, I think there are a lot of different region-related functions that could use additional support, and I'd be happy to expand on them somewhere if you'd like - but I suspect you guys have a checklist somewhere? Anyway, thanks, this will work at least to clear out regions without clicking a ton. |
Feel free to send me a list of requested functions/tutorials/etc. Quite a few might already be easily done. |
Additional tutorial entries are needed for the following:
@kswang1029 may have more suggestions on what to add after testing out the code snippets feature in more detail
The text was updated successfully, but these errors were encountered: