Smart Parts??

When I was working with Pro E there was a function where when I would place an extruded peice of aluminum in an assembly it would ask me for the length and then it would spit out an extrusion in that length.  I'm wondering if there is a way that I could achieve the same thing in solidworks without going into the part itself and selecting a new configuration.

Thanks All,

Robert

SolidworksAssemblies