Last month, Guillaume Laforge posted a Random Extrusion compound that can extrude polygons with random lengths and insets.
Guillaume noted that this compound was for Softimage 2013 only, but it appears that [with a tweak] you can get it to work in 2012 SAP.
When you import the compound into 2012, you’ll see a warning in the status bar/script history:
// WARNING : 3000-EDIT-AddICECompoundNode - Could not find node : BuildArrayFromSetNode
All you have to do is put back the missing Build Array from Set node, then the compound appears to work in 2012 SAP.