Get value from object that is in a tab.



  • On 20/02/2018 at 14:18, xxxxxxxx wrote:

    Hi guys,

    Maybe a really simple questions. Normally when I need to excess a value from an object I copy the text field inside the console and do a print command.

    Now I need to excess the range start and range end value from the Redshift Proxy object. (see image below) But you can't drag them into the console because there in a tab. (proxy/animation)

    You can also access them from the Xpresso Editor.

    There must be a way right?

    Hope someone has an answer:)



  • On 21/02/2018 at 02:18, xxxxxxxx wrote:

    Hi JW Zegelaar,

    Most of the time, when you need to access individual parameter from a CustomGui you can right click on this parameter (File in your case) => User Interface => Show Subcontainer.
    Then you will be able to drag/drop in the console each parameter.

    Which will give us

    op[c4d.REDSHIFT_PROXY_FILE,c4d.REDSHIFT_FILE_ANIMATION_RANGE_START] = c4d.BaseTime(0.5)
    op[c4d.REDSHIFT_PROXY_FILE,c4d.REDSHIFT_FILE_ANIMATION_RANGE_END] = c4d.BaseTime(1)
    c4d.EventAdd()
    


  • On 22/02/2018 at 13:26, xxxxxxxx wrote:

    Perfect! Is this exactly what I need!

    Thanks you so much!😪


Log in to reply