A lot of the funcations like deleteSymbol and updateSymbol depend on which items are "selected" in the library panel.
Is there a way to programatically access these selections?
or
Loop through the library?
or
Set selections?
Yup, I've asked for an API to access the selection in those panels for years, to no avail.
Note that you can loop through layers, frames and pages, but you can't tell what the user has selected in the actual panel UI. Also, you can't find out which symbols are currently used in the document. Nor can you programmatically insert a rich symbol into the document and have it maintain its "richness".
North America
Europe, Middle East and Africa
Asia Pacific