With Design Variations, you can create and manage multiple design options by utilizing parameters assigned to shapes, parts, or assemblies. You can then switch between these variations as needed.
Procedure:
[1] Click [Extrude Wizard] in the [Features] tab to create a part.

Create sketch. When creating a cross-sectional shape, use [SmartDimension].

After creating a cross-sectional shape first, there is no problem if you create a part with Extrusion.
[2] Select the shape/parts and set the [Parameters...].
Create parameters for the dimensions you want to change. ※Please refer to the video.

[3] With the shape/part selected, go to the [Add-Ins] tab → [DesignVariations], and choose [Add Design Variation].
If DesignVariations is not visible, go to [Add-Ins] tab → [General] group → click [Add-In Applications...],
then in the Application/Add-Ins dialog box, check [DesignVariations] and click [OK] to enable it.
[4] After clicking [Add Design Variation], then select [Edit Design Variation].
[5] The Edit Design Variations dialog box will appear.
Set the [Design Value] of the Parameters.
[6] Click [Add] to create a new design variation (tab).
Set the Design Values for the new variation.
[7] Generate a preview for the selected design variation.
[8] Apply the selected variation.
Please refer to the video below.