How to sweep object in Bricscad?

It is easy to sweep object using XSWEEP command in Bricscad Platinum.
-
Step 1:
1. Draw object for path (red) and object to sweep (yellow)
-
Step 2:
2. Call XSWEEP command, select object to sweep and path, preview is available
-
Step 3:
3. Result image