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

    SCALE_V in VideoPost description

    SDK Help
    0
    2
    197
    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 11/05/2016 at 10:07, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R13-R17 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      I have a problem with SCALE_V in resource of VideoPost, here is example code

      CONTAINER vpmyvideopost
      {
          NAME vpmyvideopost;
          INCLUDE VPbase;
        
          GROUP ID_VIDEOPOSTPROPERTIES
          {
              DEFAULT 1;
              SCALE_V;
              STRING MY_SCALED_EDIT { CUSTOMGUI MULTISTRING; SCALE_V; }
          }
      }
      

      Desired effect is to have MY_SCALE_EDIT scaled vertically across whole window in Render Settings, but I get only default height.
      Because the same method works in drendersettings.res (for RDATA_HELPTEXT), I guess it is because render settings uses CustomDescriptionGui to show VP settings and this element doesn't have SCALE_V set. If so, is there some way to set it from within VP plugin?

      Note that in my real code, I don't use MULTISTRING but my own iCustomGui, so if there is a way to get the height of parent dialog (the second column in render settings), it would also be solution as I could simply compute correct height and set it in main group.

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

        On 13/05/2016 at 08:59, xxxxxxxx wrote:

        Hi,

        I'm afraid this looks like a limitation of the Render Settings dialog setup.
        The same parameter definition for an Object plugin works as expected in the Attribute Manager i.e. the edit text scales vertically as expected.

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