top of page

GstarCAD Tips & Tricks - 61: Variables

What is OFFSETGAPTYPE variable ?

This system variable can have a drastic effect on the appearance of offsets. It’s stored in the registry so it affects all drawings. The initial value is 0.

  • 0 Extends the segments to fill the gap (the old way)

  • 1 Fills the gaps with a filleted arc segment (the radius of the arc segment is equal to the offset distance)

  • 2 Fills the gaps with a chamfered line segment


What is TREEDEPTH variable ?


Users with HUGE drawings may want to consider changing the value of the TREEDEPTH variable. It controls the GstarCAD Tree Spatial Index, which specifies the number of times the tree-structured spatial index may divide into branches. Setting the value to -3020 flattens the Z index giving you more granular nodes in the XY which yields faster object selection. It has no effect on the elevations of your objects.


What is PELLIPSE variable ?


If you want the ellipse command to create polylines instead of the true mathematical ellipses, set the PELLIPSE variable to 1.


What is SKPOLY variable ?


By default, the SKETCH command creates a collection of line objects. To create polylines instead, set the SKPOLY variable to 1.


List system Variable


To check the status of certain system variables, you can use the SETVAR command. After issuing the command, type? to begin the list, then apply an optional filter. For example entering DIM* will show all the dimension variables.


Startup system Variable


This system variable toggles on/off the Startup dialog box to help users to setup drawing templates settings. Using this dialog box is safer. It will make them aware to select a template before actually start to draw. You can set this startup dialog box to open everytime when you start GstarCAD, Just type STARTUP [enter] then type 1 as new value then [enter]. You can also choose not to open new file or dialog box. You can set STARTUP system variable to 2.

45 views0 comments
bottom of page