Display Icons in HDA Help Page

   786   3   1
User Avatar
Member
240 posts
Joined: 10月 2014
Offline
Looking through this page as I document an HDA:
https://www.sidefx.com/docs/houdini/help/format.html#icons [www.sidefx.com]

I have some buttons in my HDA that are represented only as icons, loaded from the standard set of icons (hicon:/) that ships with Houdini. I'd like to add these to the parameters description of my HDA's Help page, but I am struggling with the syntax. My wiki markup-fu is failing me. The page linked above shows examples of icons from other nodes (e.g. Icon:SOP/copy, but I'd like to pull my icon from the hicon:/ location instead.

Anyone know the syntax for that?
Edited by Tim Crowson - 2023年12月15日 13:36:19
- Tim Crowson
Technical/CG Supervisor
User Avatar
Member
11 posts
Joined: 5月 2015
Offline
Hey.

Try this:

[Smallicon:BUTTONS/cook]

I'm not sure where I got it from. I think I had to dig it up in the Houdini install.
Edited by Honza Topinka - 2023年12月21日 04:30:58
User Avatar
Member
4521 posts
Joined: 2月 2012
Online
I use this template for years:

= Attribute Gradient =



#type: node
#context: sop
#internal: attribGradient
#icon: opdef:.?icon64.svg



"""Computes the gradient of a scalar attribute using connectivity or proximity."""



@parameters

Group:
    #id: group
    Subset of geometry to use.

Group Type:
    #id: grouptype
    The type of entities in the group.

Attribute:
    #id: attribute
    Name of the input attribute.

New Attribute:
    #id: new
    Name of the new attribute that will store the gradient.

Method:
    #id: method
    The method used to compute the gradient.
    
    Connectivity:
        Uses edge connectivity to compute the gradient.
        
    Point Cloud:
        Uses point proximity to compute the gradient.
    
Neighbouring:
    #id: neighbouring
    The type of neighbouring to use.
    
    By Edges:
        Uses the edge neighbours of each point when gathering their point neighbours.
        
    By Primitives:
        Uses the primitive neighbours of each point when gathering their point neighbours.
        
Depth:
    #id: depth
    Number of edges/primitives away from the points.
    
Radius:
    #id: r
    The radius of the search.

Max Points:
    #id: maxpts
    The maximum number of points queried within the search radius.

Use Radius Attribute:
    #id: useradius
    Uses a per-point radius attribute.

Radius Attribute:
    #id: radius
    Per-point radius attribute that expands the search radius.

Radius Scale:
    #id: rscale
    Multiplier for the radius attribute.
    
Invert:
    #id: invert
    Negates the direction of the gradient vector.

Show Guide:
    #id: guide
    Shows the gradient vectors in the viewport.
    
Guide Scale:
    #id: guidescale
    The scale of the guide geometry.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
User Avatar
Member
240 posts
Joined: 10月 2014
Offline
Honza Topinka
Hey.

Try this:

[Smallicon:BUTTONS/cook]

I'm not sure where I got it from. I think I had to dig it up in the Houdini install.

Thanks! This did the trick... I almost had it, just had to replace the underscore with a slash...

[Smallicon:BUTTONS_cook]--> [Smallicon:BUTTONS/cook]
- Tim Crowson
Technical/CG Supervisor
  • Quick Links