Jump to content

XPopMenu for Houdini


julca

Recommended Posts

Hello,

I'm happy to share with you the script plugin XPopMenu !

Initially developed on Softimage by Reinhard Claus, XPopMenu is a popup menu that you can associate to a hotkey to get under the hand a quick and easy customizable set of tools.

  • you can layout your menu using simple method like "addItem", "addTitleItem", "addSeparator" and "addSubMenu"
  • If you want you can add icon for each action item (icons collection come from axialis.com with some custom from Reinhard Claus)
  • As concrete example, I've joined two bonus tools : one to get distance and an other to get angle.

Quick demo :

 

I Hope you like it !

Cheers

XPopMenu.zip

  • Like 7
Link to comment
Share on other sites

  • 5 months later...
  • 2 years later...

Hello @Houdini7,

Yes theoretically it's totally possible. You just need to add a conditionnal "if" bracket on specific menu that follow your mode.

So the only "hard" part is just to determine in python in which mode we are (point, primitive, etc.) .

	if (onPointMode) {
		paramDict = {"uiPath" : demoFolderPath + "getAngle.ui"}
		mySubMenuTool.addItem("Get Angle", demoFolderPath + "getAngle.py", "getAngle", paramDict)
	}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...