Python - get multiparm index from menu script

   1159   1   1
User Avatar
Member
385 posts
Joined: July 2018
Offline
i have a multiparm block with two ordered menus inside that get populated from their menu scripts. Menu A, Menu B
So these becomes
Menu A1
Menu B1

Menu A2
Menu B2

...etc

Menu B# needs to reference the other and i cant figure out how to get the current instance the script should be reading from.

in the attached images - 'variation' menu script needs to reference 'plant'
Edited by papsphilip - April 5, 2022 07:44:36

Attachments:
needs_to_reference_menu_A.JPG (85.6 KB)

User Avatar
Member
385 posts
Joined: July 2018
Offline
it was easier than i thought, here is the solution for anyone interested
two menu scripts in a multiblock folder.
A list feeds to B for every instance

Attachments:
menu_scipt_get_multiparm_instance.hiplc (86.9 KB)

  • Quick Links