Setting the active Camera

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

On 13/08/2009 at 06:24, xxxxxxxx wrote:

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

---------
Hello,
if I have more than one camera how would I switch the active camera? I did not find anything that seemed useful in CameraObject nor BaseDocument. Any ideas?

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

On 13/08/2009 at 06:30, xxxxxxxx wrote:

Check out BaseDocument::GetActiveBaseDraw(), BaseDocument::GetRenderBaseDraw() and BaseDocument::GetBaseDraw(). You can set the camera in the returned BaseDraw.

cheers,
Matthias

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

On 14/08/2009 at 00:58, xxxxxxxx wrote:

Thanks, that helps:)