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

    NodeData.InitAttr() inside of ObjectData.Execute()

    Scheduled Pinned Locked Moved PYTHON Development
    5 Posts 0 Posters 614 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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 06/08/2011 at 13:24, xxxxxxxx wrote:

      hey everyone! i was wondering if it is ok to put a NodeData.InitAttr() method inside of the ObjectData.Execute() function? i am hoping to init the hide flag of an attribute in my .res file. depending on an if() statment. Sound workable to anyone? or am i breaking the laws of the universe here. thanks in advance for the help!

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 06/08/2011 at 14:19, xxxxxxxx wrote:

        I don't understand what you are trying to do. You can't set the hide-flag within the InitAttr method afaik , and if so, please tell me how. 🙂

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 07/08/2011 at 21:59, xxxxxxxx wrote:

          After doing a bit more research, i think the part im confused about is exactly how c4d applies a python based GeDialog for a plugin object. It seems very straightforward to create the GeDialog Class, but how does one initialize that dialog with all its c4d gagdets into the  instance of your plugin object?

          EDIT: readaing some more. GeDialog is solely to display GUI dialogs. I'm just not sure how to create dynamic data entries that will appear and disappear, using python.

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 08/08/2011 at 02:46, xxxxxxxx wrote:

            For plugin objects and tags whoose guis are displayed in the AM, you use descriptions.
            You can't create dynamic descriptions in python.

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 10/08/2011 at 13:41, xxxxxxxx wrote:

              bummer. hopefully r13 helps with this! i noticed they are adding tabs functionality to description files in there, so that should do what i need. thanks for the reply Niklas.

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