save illustator file via python



  • On 08/07/2015 at 02:57, xxxxxxxx wrote:

    i seen that there is no export option for illustator files via python.

    instead of clicking export > correct directory > name > options of illustrator file.

    i would like to have the option via python script or as plugin.

    edit:

    via c4d.CallCommand(60000, 2) 
    i'm able to call the export window. but i have to name it correctly and accept the option dialog.



  • On 09/07/2015 at 05:52, xxxxxxxx wrote:

    Hello,

    one can use an exporter simply with SaveDocument(). Just use the ID of the exporter; in this case the ID of the Illustrator Exporter is 1012074. An example on how to setup and use such an exporter can be found in the SDK examples with the Alembic Exporter.

    Unfortunately there seems to be a problem with the Illustrator export and Python. A bug report was filed.

    Best wishes,
    Sebastian


Log in to reply