Houdini geometries can contain geometry groups, like primitive groups and point groups. A geometry group contains a subset of components of a geometry. For example, in a Houdini geometry, a subset of the polygons can belong to a primitive group. This is somewhat similar to Maya sets, where a subset of polygons can belong to a certain Maya set.
There are two ways that groups can be interacted with in Maya:
-
With Maya sets
-
When Maya geometries that belong to certain Maya sets are input into an asset, Houdini groups will be created according to the Maya sets. When an asset outputs geometries that contain Houdini groups, Maya sets will be created according to the Houdini groups.
-
-
With promoted parameters
-
If a group node’s
Base Group
parameter has been promoted to an HDA’s parameters, you are able to define the group contents by component selection in Maya. To do so, you must add thesidefx::maya_component_selection_type
tag to the promoted parameter. Valid selection types are vertex, edge, face, and uv.
-
At the moment, Maya mesh, and Houdini polygons are the only geometry types that support Maya sets and Houdini groups.
Mesh ¶
When inputting Maya mesh, if the faces or points of the mesh belong to some Maya sets, then Houdini primitive groups or point groups will be created according to the Maya sets. When outputting Houdini polygons into Maya, if some of the polygons or points belong to some Houdini groups, then Maya sets will be created according to the Houdini groups. Note that in order to assign Maya geometry components to Maya sets, nodes and connections need to be created in the Maya scene. This means that if the output Houdini group changes, sync is needed in Maya in order to see the updated sets.