Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Modify Exporter settings

    PYTHON Development
    0
    7
    632
    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
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 06/11/2012 at 02:37, xxxxxxxx wrote:

      Hi people,
      I am trying to change the export settings of a SceneSaver. Is it possible to use MSG_RETRIEVEPRIVATEDATA as in this example from Yannik Puech:

        
      BaseList2D* exporter;   
      BasePlugin* plug = FindPlugin(1026370, PLUGINTYPE_SCENESAVER);   
      if (plug && plug->Message(MSG_RETRIEVEPRIVATEDATA, &exporter;))   
      {   
          BaseContainer *data = exporter->GetDataInstance();   
          data->SetLong(FBXEXPORT_ASCII, FALSE);   
          data->SetLong(FBXEXPORT_BAKE_ALL_FRAMES, FALSE);   
          ....   
        
          SaveDocument(doc, "C:\\model.fbx", SAVEDOCUMENTFLAGS_DONTADDTORECENTLIST, 1026370);   
      }   
      

      Or is there another way to change the settings?

      Best regards,
      Satara

      Reference:
      MSG_RETRIEVEPRIVATEDATA Example (C++)

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 06/11/2012 at 03:03, xxxxxxxx wrote:

        Hi,

        Unfortunately with Python it's currently not possible to send MSG_RETRIEVEPRIVATEDATA  to the exporter and get its private data back.

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 06/11/2012 at 03:48, xxxxxxxx wrote:

          Thanks for the fast reply. But does that mean that it is currently not possible to change the export settings?

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 06/11/2012 at 05:28, xxxxxxxx wrote:

            Originally posted by xxxxxxxx

            Thanks for the fast reply. But does that mean that it is currently not possible to change the export settings?

            Yes, we can't currently change exporter settings in Python.

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 28/11/2012 at 02:34, xxxxxxxx wrote:

              Is this possibly going to change at some point? Batch export seems to be a typical task for scripting... 😞

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

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 28/11/2012 at 03:17, xxxxxxxx wrote:

                Originally posted by xxxxxxxx

                Is this possibly going to change at some point? Batch export seems to be a typical task for scripting... 😞

                Hi Timm,

                I agree this is an important issue. Developers are looking into it.

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

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 28/11/2012 at 09:49, xxxxxxxx wrote:

                  Hi Yannick,

                  that's great to hear! Thanks for the quick reply!

                  Timm

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