# DELOBJ System Variable
[GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [D](%28D%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Registry |
| Initial value | 3 |
| Range | -3 to3 |
Controls whether geometry used to create 3D objects is retained or deleted.
3 Deletes all defining geometry, including paths and guide curves used with the SWEEP and LOFT commands if the action results in a solid object. Removes all defining geometry for CONVTOSOLID, CONVTOSURFACE, CONVTONURBS, and CONVTOMESH commands.
2 Deletes all defining geometry, including paths and guide curves used with the SWEEP and LOFT commands.
1 Deletes profile curves, including those used with the EXTRUDE, SWEEP, REVOLVE, and LOFT commands. Cross sections used with the LOFT command are also deleted. Removes all defining geometry for CONVTOSOLID, CONVTOSURFACE, CONVTONURBS, and CONVTOMESH commands.
0 All defining geometry is retained.
-1 Displays prompts to delete profile curves or/and cross sections used with the EXTRUDE, SWEEP, REVOLVE, and LOFT commands. The original geometry for CONVTOSOLID, CONVTOSURFACE, and CONVTOMESH commands is removed without prompting.
-2 Displays prompts to delete all defining geometry, including paths and guide curves used with the SWEEP and LOFT commands. The original geometry for CONVTOSOLID, CONVTOSURFACE, and CONTOMESH commands is removed without prompting.
-3 Displays prompts to delete all defining geometry if the resulting entities are a surface of any type. Deletes all original geometry resulting in a solid entity, original geometry for CONVTOSOLID, CONVTOSURFACE, CONVTONURBS, and CONVTOMESH commands is removed without prompting
---
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/D/DELOBJ%20System%20Variable.md)