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
    • Recent
    • Tags
    • Users
    • Login

    How to set Spline gui parameter

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 245 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 18/04/2014 at 16:16, xxxxxxxx wrote:

      Hey Everyone,

      I try to define more parameter for the spline gui

      i found the  _SPLINECONTROL_ALLOW_HORIZ_SCALE_MOVE in the documentation but how can i use it ?  _
      _
      _
      _

      _
      def __init__(self) :
      		self.sd = c4d.SplineData()
      		self.sd.MakeLinearSplineBezier(4)
        
      
      

      thanks for any tips

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

        On 19/04/2014 at 09:44, xxxxxxxx wrote:

        You can specify those settings via GeDialog.AddCustomGui(). In a dialog or description resource,
        there are some flags available that can be used in the resource file directly. Other than that, you
        need to override NodeData.GetDDescription() which is only available in C++ to modify the settings
        on a NodeData plugin.

        -Niklas

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

          On 20/04/2014 at 01:38, xxxxxxxx wrote:

          Thanks Niklas

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