I’m trying to add UI to a script of mine where I need to list all paths of a layer in a vanilla List. The list is built at launch time, and I can trigger a rebuild by calling my list building function again when I do stuff to the outlines with the script, but if the user makes manual changes to the layer, is there a way to watch for these changes and rebuild the list if needed?
In other words, can I watch stuff that’s done manually in a layer after the script is launched, and use that to call functions?
Yes, but it may be more sane to have an update button in the UI.
If you want to go forward anyhow, take a look at callbacks, and the available Callback Keys in the API documentation.
Update button it’ll be Thanks a lot Rainer!