Scaling Packed Primitives with Vex in Houdini
Making a note of this handy code snippet I found on https://forums.odforce.net/topic/23353-scaling-packed-objects-with-vex/ for scaling Packed Primitives with Vex.
vector scale = fit01(vector(rand(@primnum)), 0.2,1);
matrix3 trn = primintrinsic(0, "transform", @primnum);
matrix scalem = maketransform(0, 0, {0,0,0}, {0,0,0}, scale, @P);
trn *= matrix3(scalem);
setprimintrinsic(0, "transform", @primnum, trn);