Page 1 of 2

xPOP3

Posted: 10 Sep 2010, 01:45
by rray
XPOP Popup Menus
V3.0 for Softimage 2011 SP1+ Win32/64/ Linux(?)

Image
example for an xpop menu

New Features for XPOP V3.0

%%- Greyed out menu items

%%- Icons (including Checkmark)

%%- Icon collection included (from Axialis Team)

%%- Object oriented API (similar to Patrick Boucher's python extension for XPOP2)

%%- Section headers for more linear grouping than submenus

%%- Visual customization options: margins, spacing, font, fontsize, coloring

Function/Attribute reference and download @http://si-community.com/download/lb/rray/xpop/

Re: xPOP3

Posted: 10 Sep 2010, 09:58
by Zafar Iqbal
I'm loving the current activity around XSI. This addition looks very nice and can prove to be quiet helpful. Thanks!

Re: xPOP3

Posted: 18 Sep 2010, 23:20
by rray
XPOP3 website is finished, including a function & attribute reference

http://rray.de/xsi/xpop/

Re: xPOP3

Posted: 19 Sep 2010, 01:50
by Zafar Iqbal
Why did I think of Facebook and not Flipbook when I saw the "F" icon? I dissapoint myself :((

The updated site is better imo.

Re: xPOP3

Posted: 19 Sep 2010, 14:06
by rray
I though of facebook first too, I think it's because of the font for the f they used :ymblushing:
Thanks for your comments!

Re: xPOP3

Posted: 19 Sep 2010, 14:26
by Hirazi Blue
On the xPOP3 website you mention "Axialis Studio" twice, without further explanation (as far as I can tell).
Linking to the accompanying website might be a good idea to let everyone know what you're talking about...

Re: xPOP3

Posted: 19 Sep 2010, 14:37
by rray
My bad --- you're right, thanks for the note --- fixed. Their name isn't even Axialis Studio, it's Axialis Team xD

Re: xPOP3

Posted: 14 Jan 2012, 20:29
by eternal art
I have Xpop menu in vbscript and want to add more than one line of code to the one of my menu item without make a command for it ?
example :

Code: Select all

Set item =  popup.AddItem ("Dragon", "ObjImport Application.InstallationPath( siUserPath ) & ""\Addons\XSI-Shelfy\Data\Obj\Dragon.obj"", 1, 0, False, False , False, False" )
this code will import my obj , i want to do many other things beside this import to the same menu item .

i hope my quesion is clear enough .

Re: xPOP3

Posted: 14 Jan 2012, 20:55
by rray
You have two options, either use a subroutine or function defined in the same file where you build the menu, and call that in the string, or you can put several commands inside the string and separate them with a ":"

Re: xPOP3

Posted: 16 Apr 2012, 01:28
by eternal art
Hi ..
Is there anyway to add a header and separator to the sub-menu ? or it's not supported , also it's nice if we can " Tear the menu " like softimage menu (Considere it a feature request ;) ) .
Thanks in advanced .
rray wrote:You have two options, either use a subroutine or function defined in the same file where you build the menu, and call that in the string, or you can put several commands inside the string and separate them with a ":"
Sorry i forget to thanks you for the answer , it's what i want .

Re: xPOP3

Posted: 16 Apr 2012, 16:53
by rray
Hi,
AddHeader and AddSeparator should work fine in submenus,
pinning the menu would require a complete rewrite, the windows TrackPopupmenu function which I'm using doesn't support this.

Btw, here's a newer version of xpop that caches icons-- menus with many icons display much quicker.

Re: xPOP3

Posted: 30 May 2012, 19:56
by rray
Another little update, this one adds underlined sub menus/menu items (Thick underlines Softimage-Style, if you'd like to tweak the underline style, it's being drawn in lines 258-263 in XPOP32Plugin.py). Also adds some new icons for boolean operations (intersection, difference...)

Build your underlined menus using

item = xxxxyyy.AddItem....
item.underlined = true
item.underlinecolor = 0xFF0000

Share your custom menus :-bd !
Ray

DL:
XPOP3.2.zip
(129.88 KiB) Downloaded 318 times
docs: http://rray.de/xsi/xpop/

Re: xPOP3

Posted: 30 May 2012, 20:47
by Ramon
gr8

Re: xPOP3

Posted: 25 Feb 2014, 07:48
by junki
Hello rray,

I'm writing a popup menu script using XPOP3.2.
I want to use my own icons.
But "LoadIcon" method does not seem to work.
It returns a error saying "no such method/property supported." (in Japanese. See the pic)

(SetIcon method works fine BTW.)


Do you have any idea?
Thank you.

Re: xPOP3

Posted: 25 Feb 2014, 10:36
by rray
Hello Junki!
My mistake - I forgot to add LoadIcon as a public method, please go to XPOP30Plugin.py and edit line 18 from this:
_public_methods_ = ['SetIcon', 'EnableItem']
to this:
_public_methods_ = ['SetIcon', 'LoadIcon', 'EnableItem']

That should do it
-rr

Re: xPOP3

Posted: 20 May 2020, 20:10
by sirdavid32
Hi team. I recently added a video on how to install this. Instructions were pretty straight forward, and I'm thinking on creating a custom .addon to distribute a custom Xpop menu.