GstarCAD 2027 · Command Reference
Function Description:
The DELOBJ system variable is used to control whether to save the geometric drawing which used to create other objects.
| Type | Integer |
| Saved in | Registry |
| Initial value | 3 |
| Range | -3 \~ 3 |
If set the SURFACEASSOCIATIVITY system variable to be 1, the DELOBJ system variable will be ignored.
System Variable Value:
0: reserve all defined geometric drawings
1: delete profile curves( including curves created by EXTRUDE, SWEEP, REVOLVE, and LOFT commands). Delete all geometric drawings defined by CONVTOSOLID, CONVTOSURFACE, CONVTONURBS, and CONVTOMESH commands. Also delete section plane created by LOFT command.
2: delete all defined drawings( including path curves and wizard curves cooperatively used by SWEEP and LOFT commands)
3: if some behaviors generate solid objects, delete all defined geometric drawings( including path curves and wizard curves cooperatively used by SWEEP and LOFT commands). Delete all geometric drawings defined by CONVTOSOLID, CONVTOSURFACE, CONVTONURBS, and CONVTOMESH commands.
This setting also can apply to some options of some commands(such as PEDIT and SPLIE).
-1: display command prompts to delete profile curves ( including curves created by EXTRUDE, SWEEP, REVOLVE, and LOFT commands). Prompts to delete section planes cooperatively used by LOFT command.
Some original geometric drawing created by CONVTOSOLID, CONVTOSURFACE and CONVTOMESH commands will be deleted without command prompts.
-2:display command prompts to delete all defined geometric drawings( including path curves and wizard curves cooperatively used by SWEEP and LOFT commands).
Some original geometric drawing created by CONVTOSOLID, CONVTOSURFACE and CONVTOMESH commands will be deleted without command prompts.
-3: display command prompts to delete all defined geometric drawing when the type of result metalfile is any curves. Delete all original geometric drawings which used to create solid metalfiles. Some original geometric drawing created by CONVTOSOLID, CONVTOSURFACE and CONVTOMESH commands will be deleted without command prompts.
Article ID: 5312
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/delobj-system-variable-gstarcad-2027-5312.html