Post #2049: Hey Roaoao,

πŸ“‹ Metadata

🏷️ Tags

popup-dialog scripting advanced unsolved

  • Popup Dialog Editor
  • Macro Editor
  • Python Scripting

πŸ’¬ Content

Hey Roaoao,
Thanks for your answer, this worked perfectly. Another question, regarding animation nodes. I would like to have menu buttons for adding iterators/parameters/generators for my Loops. When use debug mode and click the New Parameter button, I get the following report in the information area:

bpy.ops.an.choose_socket_type(selectedDataType='Vector List', socketGroup='ALL', callback="#('executeNodeCallback', (('AAAAA', 'Loop Input.002'), 'newParameter'))")

I’m not sure how to make this function, or the β€œAdd Iterator” functions contextual, so that I could add an iterator or parameter to any Loop node with a pop-up?
Thanks in advance.


πŸ”— View on Blender Artists