Document units with Melange



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

    On 25/01/2011 at 04:32, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   12 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    I'm writing a Cinema4D file using the latest Melange SDK V4_37524.
    In my program I'm setting the document's units to millimeter:

    c4dDoc.SetParameter(_melange_::DOCUMENT_DOCUNIT, _melange_::DOCUMENT_UNIT_MM);

    However, the written document still has it's units set to centimeters. What is wrong with the statement above and how can I set the units for the document?

    Thanks
    Frank


Log in to reply