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.
xPOP3
Plugins linking to this thread: (hide)
XPOP v3.2
Updated Oct 2016 with a Houdini rewrite by Julien Carmagnac. XPOP Menus popup menus that are fully customizable via scripts, and can be used
with all scripting languages available in Softimage / Houdini
New features for XPOP 3.2: Underlined items Some new icons Icon caching Greyed out menu items Icon support (including Checkmark) Icon collection from axialis.com included 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
Julien's brand new XPOP for Houdini is available here. Junkie's japanese version of the documentation is available here..
local backup: XPOP32.xsiaddon (drag-and-drop)
New features for XPOP 3.2: Underlined items Some new icons Icon caching Greyed out menu items Icon support (including Checkmark) Icon collection from axialis.com included 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
Julien's brand new XPOP for Houdini is available here. Junkie's japanese version of the documentation is available here..
local backup: XPOP32.xsiaddon (drag-and-drop)
author link: http://rray.de/xsi/xpop/ / si-community thread
Re: xPOP3
- Attachments
-
- XPOP31.zip
- (127.34 KiB) Downloaded 334 times
softimage resources section updated Jan 5th 2024
Re: xPOP3
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 !
Ray
DL: docs: http://rray.de/xsi/xpop/
Build your underlined menus using
item = xxxxyyy.AddItem....
item.underlined = true
item.underlinecolor = 0xFF0000
Share your custom menus !
Ray
DL: docs: http://rray.de/xsi/xpop/
softimage resources section updated Jan 5th 2024
Re: xPOP3
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.
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
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
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
softimage resources section updated Jan 5th 2024
- sirdavid32
- Posts: 309
- Joined: 10 Feb 2010, 04:36
- Location: Ecuador
- Contact:
Re: xPOP3
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.
Portfolio: https://www.behance.net/3dcinetv
Vimeo: http://vimeo.com/3dcinetv
Web: http://www.3dcinetv.com
Vimeo: http://vimeo.com/3dcinetv
Web: http://www.3dcinetv.com
- sirdavid32
- Posts: 309
- Joined: 10 Feb 2010, 04:36
- Location: Ecuador
- Contact:
Re: xPOP3
You can custom call anything in Softimage just by TAB.
Portfolio: https://www.behance.net/3dcinetv
Vimeo: http://vimeo.com/3dcinetv
Web: http://www.3dcinetv.com
Vimeo: http://vimeo.com/3dcinetv
Web: http://www.3dcinetv.com
Who is online
Users browsing this forum: No registered users and 38 guests