siMenuICENodePortContextID?

Discussions concerning programming of SOFTIMAGE©
Post Reply
User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

siMenuICENodePortContextID?

Post by Hirazi Blue » 19 Oct 2011, 09:28

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?
Stay safe, sane & healthy!

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: siMenuICENodePortContextID?

Post by xsisupport » 19 Oct 2011, 12:01

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.
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: siMenuICENodePortContextID?

Post by Hirazi Blue » 19 Oct 2011, 12:04

Hmm, that doesn't sound good (for what I was planning to do). :-?
Another customization attempt gone down the drain...
Thanks anyway! ;)
Stay safe, sane & healthy!

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: siMenuICENodePortContextID?

Post by xsisupport » 19 Oct 2011, 12:19

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?
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: siMenuICENodePortContextID?

Post by Hirazi Blue » 19 Oct 2011, 12:23

Oh, sorry, I must have ( in this case: luckily #:-s ) completely misunderstood you...
Thanks for clearing that up... :-bd
Stay safe, sane & healthy!

Post Reply

Who is online

Users browsing this forum: trendiction [Bot] and 23 guests