Edit base shape path to parameterize a sweep profile
Make a sweep or repeat profile's start point parametric so the profile updates with the design.
When a sweep/repeat profile's start point is not parametric, select the panel, open Edit Panel Design, choose Edit Base Shape, select the shape, then edit its path and set the start point using design parameters (e.g. design width minus an offset, design depth minus an offset).
The path can be defined from the beginning when creating the line with the sweep tool, so the profile stays parametric and updates with the design.