SketchAPI
SketchAPI copied to clipboard
API has no access on any foreign objects and swatches
Currently, there's no way to obtain the documents foreign swatches, objects or colors. So not even the name of a color used in the document can be used. Please expose all attributes of the documents JSON via API, as this is crucial for any plugin development or batch scripting.
When I call library.getImportableSymbolReferencesForDocument(), I get an error: ReferenceError: Can't find variable: MSForeignObjectCollector. Is it related to the problem you mentioned? Can you tell me more about it?
Currently, there's no way to obtain the documents foreign swatches, objects or colors. So not even the name of a color used in the document can be used. Please expose all attributes of the documents JSON via API, as this is crucial for any plugin development or batch scripting.