HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Icon

The last thing that needs to be done for custom operators is to make an icon for the graphical user interface. The format of the icon file can be any of the Houdini supported image formats or SVG files.

We recommend that you use SVG files for new operators. SVG files are resolution independent and so they work best for operators displayed in the network view pane. There are several tools available on all platforms for creating SVG files such as Inkscape.

Support for old .icon and .bicon files was removed in Houdini 16.0. If you have icons in this format, you can convert them into SVG files using the gsvg utility that ships with Houdini.

The icon filename corresponds to the table and name of the new operator. Then, by default, Houdini will use that icon for the operator. For example, if we have a new object operator named hdk_lamp, then the corresponding icon will be OBJ_hdk_lamp.svg.

When the icon is complete (to your satisfaction), it should be installed somewhere in the HOUDINI_UI_ICON_PATH search path. This is typically at

  • $HOME/houdiniX.Y/config/Icons

but on Mac it can be

  • $HOME/Library/Preferences/houdini/X.Y/config/Icons

where X.Y is the Houdini major and minor version numbers respectively.

See Also
Support Files