Setting up Harmonic Excitation from Modal Results via Scripting
This is an example of using python code to automatically setup a resonant excitation from a modal result. It uses "after Solve" callback in the modal to update the harmonic excitation per the modal result object.
It also does some helpful things like dynamically rename modal results per the calc. freq. and auto-suppress modal result objects that request modes that are not found per the Max Modes to Find option.