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.
Every time you create a new drawing, you will see a default layer: Layer0. You can’t delete it.
Then when you define their properties such as color, line weight, etc, you will see ByLayer and ByBlock properties. Most of you might already know what ByLayer means. But do you also know what does ByBlock behavior?
- Layer0is a default GstarCAD layer. You can create geometry in your blocks on it. When you insert those blocks, they will use active layer. When you move this block to different layer, the objects in it will use it and ignore Layer 0.
- When you define object properties (color, line weight, etc) to ByLayer, all of it properties will use the same properties as it’s defined in the layers’ properties.
When you work with engineers and architects, they might use your structure drawings as a reference in their drawings. The problem is each engineer probably has their own standard. You might need to change layer properties for their drawings so it can fit your standard. So how you can do that? Do you have to create a copy of the drawing, make necessary changes before you can use it as a reference? That would defeat the purpose of XREF, isn’t it?
Changing layer properties in master file
Before we start, let’s make a naming convention to avoid confusion:
Want to clean up your drawings from extra or garbage layers? The obvious way to purge layers is to use the PURGE command but sometimes it’s not enough. Purge might need to be run several times. Make sure to select purge nested items. Notice that in the purge dialog box you can find items you cannot purge.
- the active or current layer
- layers with objects
- layer 0
- layer Defpoints (It can be purged if you remove all dimensions)
- layers in XREFs (
If you ever have received a set of DWG files from a client and want to clean up the layers according to my drawing standards, how do I do it and not take days or having to write code?
The solution is quite
Have you ever get confused which created objects are on which layer? When you work with layer standard, you may have dozens or even hundreds of layers in your drawing. Finding which one sets to wrong layer can be a tedious work. Here is a tip: Type LAYWALK command to activate this tool. Alternatively, you can access it from menu: Format> Layer Tools> Layer Walk. Or access it from your ribbon: home tab>layers panel> layer walk.
If you work in the plant industry, then you might need to draw isometric drawings. If you use GstarCAD, you may wish you can do it easily. It’s not a 3D drawing, but 2D drawing by simply change your drawing orientation. You can do it by using snap, then change its style to isometric.
There are several users asking, why they can’t snap to hatch object, the answer is
There are some methods that seem to allow you to define length. For example start, center, length. But this is defining the chord length, not the arch length. Calculating the angle using simple mathematic calculation, comparing the arch radius and arch length. After you get the angle value, then you can draw it. But it is not easy!
In GstarCAD is possible to link an object to another file. So if you needed to see the components specifications or 3D model of a certain component from a drawing, you can add hyperlinks to an object. The hyperlinks can be pointed directly to a manufacturer website, to a word document that contains the installation procedure, or to excel file that contains product specifications as samples.
Adding and Using Hyperlink
Adding a hyperlink is very easy. Activate hyperlink from menu: Insert> Hyperlink, or from ribbon: Insert> Data panel.