string  agentlayershapes(<geometry>geometry, int prim, string layername, string shapetype)
Returns the names of all shapes that are referenced by the layer and satisfy the
string  agentlayershapes(<geometry>geometry, int prim, string layername, int transform)
Returns the names of all shapes that are referenced by the layer and are bound to the specified transform.
Returns an empty array if
layername is not one of the agent’s layers,
shapetype is invalid,
transform is out of range,
prim is out of range, or
prim is not an agent primitive.
When running in the context of a node (such as a wrangle SOP), this argument can be an integer representing the input number (starting at 0) to read the geometry from.
Alternatively, the argument can be a string specifying a geometry file (for example, a
.bgeo) to read from. When running inside Houdini, this can be an
The primitive number.
The name of one of the agent’s layers.
Whether to inspect
"all" shapes from the specified layer.
Index of a transform in the agent’s rig.