Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Get value from object that is in a tab.

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 613 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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:)

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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()
        
        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

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

          Perfect! Is this exactly what I need!

          Thanks you so much!😪

          1 Reply Last reply Reply Quote 0
          • First post
            Last post