Camera and light settings

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

On 18/02/2003 at 08:40, xxxxxxxx wrote:

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

---------
Hi!

Can someone point me to an example of how I can retrieve the Camera or Light vales from an active document for export? the "Raw.zip" example is not too detailed.

Thanks

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

On 19/02/2003 at 14:18, xxxxxxxx wrote:

These values are listed in the BaseContainer of the object, the one you get with obj->GetContainer(). See CameraObject and LightObject for the container IDs.

    
    
    var bc = obj->GetContainer();  
    var myval = bc->GetInteger(LIGHT_MAIN_TYPE);