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

    GUI Step not working [SOLVED]

    SDK Help
    0
    2
    175
    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
      Helper
      last edited by

      On 21/04/2015 at 12:05, xxxxxxxx wrote:

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

      ---------
      Hi,

      I'm working on an object-generator plugin, which has some GUI sliders.
      As soon as I add the step inside my .res file, I can't use the up-arrow inside Cinema 4D and the step doesn't work. If I delete the step, all works fine.

      This is my line of code:

      REAL LENGTH { UNIT METER; MIN 5.0; STEP 0.5; }

      Did anybody have the same problem?
      And how can this be fixed?
      Thanks for your help and time!

      Greetings,
      Casimir Smets

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

        On 22/04/2015 at 01:48, xxxxxxxx wrote:

        Hi,

        Turns out my question was stupid. Inside my Init method I set my sliders.
        Previously I did it with data->SetInt32() which I have now replaced with data->SetFloat().
        Because an integer doesn't have decimals, my steps can't work. Logic.

        You can mark this post as solved!
        Greetings,

        Casimir Smets

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