Render Data Container Names



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

    On 15/07/2007 at 18:49, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   10.111 
    Platform:      Mac OSX  ; 
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi,

    I'm trying to create a plug-in that saves out render data to an external file. I can do this by querying the base container line by line for every value there (for example with RDATA_FRAMERATE, RDATA_ANTIALIASING, etc.) and storing those values in variables. This is pretty time consuming and not very flexible.

    The other way I can do this is to get the data by iterating through the Index Ids, which works, as well, but I can't figure out how to actually get an associated container name for those IDs (which I would really like to have). For example, I can get a value of 320 for ID 5008, which corresponds to output resolution width, but, I'd like it to return "RDATA_XPIX."

    Is there any way to do this?



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

    On 16/07/2007 at 01:11, xxxxxxxx wrote:

    iterating through the IDs is not save, they might change with future versions of Cinema.

    cheers,
    Matthias



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

    On 16/07/2007 at 08:23, xxxxxxxx wrote:

    So, you think it is better to hard code this line by line? This is definitely doable, but leaves me in the dark a little bit since I don't know what video post plug-ins a user might have. (For instance, VRay is supposed to be released soon)

    I'd still like to know if there is a way to return the name of the container. It will make it a lot easier to code this, rather than having to dig through the SDK to find what I'm looking for.


Log in to reply