modul8.getValue
  • User avatar
    sigmasix
    master
    Posts: 1223
    Joined: Thu Dec 02, 2004 2:12 pm
    Location: gva | switzerland
    Contact:

    modul8.getValue

    by sigmasix » Tue Mar 01, 2005 11:32 am

    Hi, I tried to use modul8.getValue but I don't understand how it works...

    Code: Select all

    getValue(keyframe,value,layer): Returns the value of a Modul8 keyword


    so, if I want to get the modulate colour value of my selected layer I will use something like that

    Code: Select all

    modul8.getValue('ctrl_layer_color_modulateR', ***, 0)


    but I don't know what to write where the *** are... 'value' returns a syntax error and variables are not the solution... nothing is not the solution too...

    so, how does it work? ;)

    thanks
  • User avatar
    klebowax
    member
    Posts: 23
    Joined: Sun Jan 30, 2005 11:52 am
    Location: the Hague
    Contact:

    getValue getNextBetaOfModule8

    by klebowax » Tue Mar 01, 2005 12:20 pm

    I think we have to wait for the next beta release for these options.
  • User avatar
    yves@garagecube
    master
    Posts: 695
    Joined: Mon Jun 28, 2004 5:50 pm
    Location: Geneva
    Contact:

    Re: modul8.getValue

    by yves@garagecube » Tue Mar 01, 2005 6:06 pm

    sigma6 wrote:but I don't know what to write where the *** are... 'value' returns a syntax error and variables are not the solution... nothing is not the solution too...
    so, how does it work? ;)


    You are right, there is nothing to write in the ***. The correct API for getValue is:

    Code: Select all

    modul8.getValue(keyword, layer)

    #for instance:
    modul8.getValue('ctrl_layer_color_modulateR',1)




    Yves.
  • User avatar
    boris
    garageCube team
    Posts: 910
    Joined: Mon Jun 28, 2004 12:36 am
    Location: Geneva
    Contact:

    by boris » Wed Mar 02, 2005 6:45 am

    Yes Yves, But do not forget, this function does not work into the beta1 & 2.
    :roll:
    Sorry Sigma6, It will work in the next beta.
    Boris * garageCube team
  • User avatar
    sigmasix
    master
    Posts: 1223
    Joined: Thu Dec 02, 2004 2:12 pm
    Location: gva | switzerland
    Contact:

    by sigmasix » Wed Mar 02, 2005 9:52 am

    ok, thanks ;)

Who is online

Users browsing this forum: No registered users and 4 guests