nprimitives VEX function
Returns the number of primitives in the geometry file.
Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex
-
int nprimitives(string filename)
Returns the number of primitives in the geometry file.