Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    save illustator file via python

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 213 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post