illustrator-scripting-guide
illustrator-scripting-guide copied to clipboard
[Asset] Object is missing documentation
The asset object is not documented (and can't find it anywhere). You can get the list of a activeDocuments assets like this
var docRef = app.activeDocument;
var docWidth = docRef.width;
var asset_list = docRef.assets
The only attribute I know can find is .assetName
Found some documentation https://community.adobe.com/t5/illustrator-discussions/what-s-new-in-illustrator-scripting-cc2018/m-p/9422236