Skip to content

chprim_length

float  chprim_length(<geometry>geometry, int prim)

Returns the length in seconds of a channel primitive.

geohandle

A handle to the geometry to write to. Currently the only valid value is 0 or geoself, which means the current geometry in a node. (This argument may be used in the future to allow writing to other geometries.)

prim

The primitive number of the channel primitive.