Page 1 of 1

siMenuICENodePortContextID?

Posted: 19 Oct 2011, 09:28
by Hirazi Blue
I'm probably missing something very basic, so be gentle... :p
I want to add a command to the context menu of an "incoming" ICENodePort
and so far only have found the "siMenuICENodePortContextID" anchor point.
Is there anything I should specify in my code to make my command appear only
when the context menu for the "in" port of an ICE node is being RMBed, not for the "out" port?

Re: siMenuICENodePortContextID?

Posted: 19 Oct 2011, 12:01
by xsisupport
I tried this, and I don't see my custom command when I right-click the output port of a node or compound.
For example, if I right-click the Value or Out Name ports of a Get Data, I don't see my custom command.
I see the custom command only when I right-click the in ports Source and In Name.

Re: siMenuICENodePortContextID?

Posted: 19 Oct 2011, 12:04
by Hirazi Blue
Hmm, that doesn't sound good (for what I was planning to do). :-?
Another customization attempt gone down the drain...
Thanks anyway! ;)

Re: siMenuICENodePortContextID?

Posted: 19 Oct 2011, 12:19
by xsisupport
You do get the custom command for the "in" ports, which you did want.

You also wanted to do something for the "out" ports, in certain situations?

Re: siMenuICENodePortContextID?

Posted: 19 Oct 2011, 12:23
by Hirazi Blue
Oh, sorry, I must have ( in this case: luckily #:-s ) completely misunderstood you...
Thanks for clearing that up... :-bd