Houdini 20.5 hapi

hapi.getVolumeInfo function

Retrieve any meta-data about the volume primitive, including

Usage

getVolumeInfo(session: hapi.Session, node_id: int, part_id: int) → hapi.VolumeInfo

Retrieve any meta-data about the volume primitive, including its transform, location, scale, taper, resolution.

session

The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.

node_id

The node id.

part_id

The part id.

Returns volume_info as a hapi.VolumeInfo.

hapi