First you create a part and sketch a path on it (shown in the picture)
Than you create a plane where you will create a solid body that will be used as a swept cut tool.
You must be careful when creating a solid body because the solid body must be placed partly inside the other body. Also, in order to make things work the swept cut tool can only be created as a revoled boss part. If you try to use any other method of creating the swept cut body the swept cut feature will fail. Also, when you revolve a profile of the swept cut body you must uncheck the” merge result”.
Activate the swept cut tool and select “solid sweep”
The feature manager is asking you to select the tool body and a path
After clicking ok you have your swept cut performed and SolidWorks removes the tool body.