Camera-Data



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

    On 03/02/2010 at 04:30, xxxxxxxx wrote:

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

    ---------
    Hello again,
    and another Question....before I continue my Pluginproject I want to be sure....it is even possible to make the Plugin I want.
    I have figured that you cant get information out of the atribute manager, right? But could I get some how the the focal lenght of the editorcamera for example? I need just a yes or no.....If not I can give up my pluginidea....So I hope someone can tell this...

    Greetings, Holger



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

    On 03/02/2010 at 05:09, xxxxxxxx wrote:

    It's quite possible to get and set data of the attribute manager. Not all data types are supported or only very limited.

    For instance to store the value of the camera's focal length into a variable you would do something like this:

      
    var fl = cam#CAMERA_FOCUS; //cam is the camera object  
    

    To set the value do something like this:

      
    cam#CAMERA_FOCUS = 50.0; //cam is the camera object  
    

    You can obtain the IDs of the AM parameters by dragging them into the script manager or the command line of the Cinema4D console.

    cheers,
    Matthias



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

    On 03/02/2010 at 10:05, xxxxxxxx wrote:

    Ok...thats good news.....I know that from scripting.....i just heard that its not possible to take this Data with a plugin....but i surely missunderstood that...

    bytheway: I just finished my very first Plugin....it says "Hello"   Yipppieeee!!!! :-)


Log in to reply