Contents
Issue:
When trying to use the
Sweep command, after selecting the sweep path, the command line returns the following error.
Modeling Operation Error: Error Code Number is 40007 Modeling Operation Error: Error Code Number is 40007 Unable to sweep 1 selected objects.
As a result, no object is created.
Note: Depending on AutoCAD version and operating system, a different error number might be shown, such as 40021.
Causes:
The combination of sweep object and sweep path results in a self-intersecting solid as the result of the sweep operation. The creation of such objects is not allowed.
Solution:
Modify either the sweep path or the profile in order to prevent the resulting solid from self-intersecting. Possible helpful operations are:
- Altering the sweep path.
- Scaling down the sweep profile.
- Moving the sweep profile grips.
As an example, scaling down the profile is shown in the following video:
See Also:
Error: “Modeling Operation Error: Loft surface self-intersects” in AutoCAD
Products:
AutoCAD for Mac; AutoCAD;
Versions:
2017; 2019; 2018;
Source: Autodesk