You can select different elements belonging to the same sketch for creating pads.
The steps described here also apply for creating pockets, shafts, grooves, stiffeners, ribs and slots.
To perform this task, sketch three rectangles in a Sketcher session.
The Pad Definition dialog box appears.
The app detects an ambiguity as shown by the red symbol : three different lines can be determined from this point.
Define the line to end the selection:
The sketch name as well as the edge name appear in the dialog box. The app also previews the pad.
The app now previews this pad too.
The Pad Definition dialog box reopens. You can enter the parameters of your choice to extrude two profiles.