Skip to main content
Participant
July 22, 2022
Question

Adobe Illustrator OBJ Export Script

  • July 22, 2022
  • 1 reply
  • 338 views

I was wondering if anyone knows how I can add the export assests to an action. I am trying to batch export OBJ files. Maybe a script will do the trick. I have found a couple of scripts that will do file exports but none that will do the assest and or OBJs. No sure I understand why some actions can be recored and others can not. Any help would be great. Thanks 

This topic has been closed for replies.

1 reply

m1b
Community Expert
Community Expert
July 22, 2022

Not sure about actions, but I had a look through the scripting API and couldn't find anywhere to even export assets.

- Mark

Legend
July 23, 2022

Hello @m1b 


export assets can be found under "ExportForScreensItemToExport"

https://www.indesignjs.de/extendscriptAPI/illustrator-latest/#ExportForScreensItemToExport.html


Regards,

Mike

SoneafAuthor
Participant
July 23, 2022

That is a start... ( side note I have little to no knowledge of scripting but hoping I can get some help here ) but when I look at the list of options for export types I don't see OBJ as an opiton. Now adding the asset to the asset export window in an automation would be a big help so that would be a great start. 

ExportType.AUTOCAD

AutoCAD export file format.

8

ExportType.FLASH

Flash export file format.

7

ExportType.GIF

GIF export file format.

6

ExportType.JPEG

JPEG export file format.

1

ExportType.PHOTOSHOP

Photoshop export file format.

2

ExportType.PNG24

PNG 24-bit export file format.

5

ExportType.PNG8

PNG 8-bit export file format.

4

ExportType.SVG

SVG export file format.

3

ExportType.TIFF

TIFF export file format.

9

ExportType.WOSVG

Web Optimized SVG export file format.

10