Similar to Swatches to Gradient..., but uses the fill colors of the selected artwork rather than swatches to determine the stop colors. The stacking order of the artwork determines the order of the stops. If any fill has a non-100% opacity value, this is retained in the resulting stop.
Gradient Forge Panel Artwork Fills to Gradient