ParmTemplateGroup, MenuParmTemplate etc..... confusion!

   1549   0   1
User Avatar
Member
39 posts
Joined: July 2010
Offline
Hi guys!
I've finally figured out how to change a menu dynamically. It worked fine
with a simple python sop with only one menu.

The problem is, that when I change a menu which is in a more complex
layout (some folders etc.) I mess up the entire interface of my sop.

I think one problem is that I don't read the entire folder, change only the
menuParmTemplate and write it back.

I'm really confused (and depressed), cause I can't figure it out…
What is the relation between ParmTemplateGroups, FolderTemplateGroups
and MenuTemplateGroups?

its somehow like:

mySop
|
–>parmTemplateGroups
|
–>some FolderTemplateGroups
|
–>parmTemplateGroups
|
–> MenuTemplateGroup

so…question: how to change the MenuTemplate without messing up
all the rest? ….the more I know, the more confused I get..

A very basic sop with a folder, a button and a menu would be awesome!!
please help me!

seb.
  • Quick Links