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



  • 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!



  • 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. 🙂



  • 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.



  • 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.



  • 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.


Log in to reply