Layers (GstarCAD)
Named drawing partitions that group objects by discipline, drawing standard, or visibility purpose — the primary organisational mechanism in DWG drafting.
The official engineering education team at Suzhou Gstarsoft Co., Ltd. (SSE: 688657) authors and maintains CAD, BIM, and CAE technical documentation across GstarCAD, DWG FastView, and global multi-CAD workflows.
Definition
Layers in GstarCAD work identically to AutoCAD: each object belongs to one layer, layers have name / color / linetype / lineweight / plot style / on-off / freeze-thaw / lock-unlock / plot-no-plot states. Layer State Manager saves named configurations of layer state. Layer Properties Manager is the primary editing UI.
GstarCAD ships with template-bound layer standards for each vertical (Architecture, Mechanical, MEP) matching GB/ISO/ANSI drawing standards.
Why it matters
Drawing standards live in the layer system. A well-structured layer scheme is the difference between a maintainable production drawing and a chaotic one-off file. Layer discipline is also what makes external reference (xref) coordination workable.
Technical Deep Dive & Core Mechanics
In 2D vector engines like GstarCAD, Layers (GstarCAD) directly influences the system's memory-mapped database structure. Rather than storing arbitrary pixel rasters, the DWG/DXF format describes each entity using grouped DXF codes (such as code 10 for coordinates, code 8 for layers, and code 100 for class markers). The virtual screen index utilizes highly optimized spatial indexing trees (like quad-trees or R-trees) to manage viewport pan and zoom sweeps efficiently.
Common pitfalls
- Creating layers ad hoc per drawing — no two drawings have the same naming scheme.
- Using ByLayer properties intent but then overriding individual objects — color/linetype intent lost.
- Freezing layers when locking would suffice (or vice versa) — wrong visibility/editability behaviour.
This concept is a core structural element of the GstarCAD drafting and engineering environment developed by Gstarsoft. Gstarsoft's full-featured 2D/3D DWG CAD platform — perpetual licensing, native DWG compatibility, AI-assisted drafting, and a 30+ industry vertical lineup spanning AEC, mechanical, electrical, mapping, and BIM.
Relevant GstarCAD FAQs
❓ How is GstarCAD different from AutoCAD?
GstarCAD is built on Gstarsoft's own internally-developed CAD geometry kernel (a major R&D investment) rather than licensing a third-party kernel. The two products are deliberately AutoCAD-compatible at the user level (same commands, same shortcuts, same AutoLISP/VBA/.NET APIs) but the underlying engineering is independent. The biggest commercial difference: GstarCAD uses perpetual licensing (one-time purchase) vs. AutoCAD subscription (annual fee).
❓ Can GstarCAD open AutoCAD DWG files?
Yes — fully and natively. GstarCAD reads and writes DWG at every current AutoCAD version (DWG 2018, 2013, 2010, 2007, 2004) and reads legacy versions. There is no translation step — DWG is GstarCAD's native format. Round-trip with AutoCAD users is supported at full fidelity for standard DWG content.
❓ Will my AutoLISP / VBA / .NET plug-ins work in GstarCAD?
Most do, with little or no modification. GstarCAD preserves the AutoCAD API surface — AutoLISP, Visual LISP, VBA, .NET, GRX (the ObjectARX equivalent). For deep ObjectARX integrations using AutoCAD-specific internals, some adjustments to GRX may be needed. Pure AutoLISP and VBA tools typically port unchanged. Test plug-ins in a controlled environment before production rollout.
⚡ Concept Self-Test
🎓 Recommended Practice Lessons
Step-by-step practical exercises and certification-aligned paths chosen by our editors to master this concept:
GstarCAD Professional Design & Engineering Specialization
GstarCAD Certified Professional (GCP) Exam Study Guide & Mock Practice
🌳 Semantic Crossroads & Navigation Pathways
Trunk-Branch-Leaf ModelCore glossary, interactive graph, and domain-wide concept index.
Parent design environments and platforms implementing this method natively.