Modify Exporter settings



  • 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++)



  • 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.



  • 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?



  • 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.



  • 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... :-(



  • 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.



  • 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


Log in to reply