lyr_dlg.dcl — Layer Management Configuration

File: lyr_dlg.dcl
Version: v3.60
Category: Dialog Definitions
Size: 8.3 KB (252 lines)

Note

CAD Layer Control

Configure AutoCAD layer standards for ConstructiVision drawings including layer names, colors, linetypes, plot settings, and organizational structure for consistent documentation.


Functional Purpose

Layer Management - Defines and manages AutoCAD layer structure for panel drawings ensuring consistent organization, appearance, and plot output across all project drawings.

Key Functions:

  1. Defines layer structure (names, organization, hierarchy)

  2. Sets layer properties (color, linetype, lineweight)

  3. Controls plot settings (plot/no-plot, plot styles)

  4. Manages layer states (on/off, frozen/thawed, locked)

  5. Establishes standards (naming conventions, discipline codes)

  6. Supports CAD standards (AIA, ISO, company-specific)

User Need

Layer management for:

  • Drawing organization (separate features by type)

  • Visual clarity (colors indicate element types)

  • Plot control (what prints vs reference-only)

  • CAD standards (company/industry standards compliance)

  • Collaboration (other disciplines understand layers)

  • Efficiency (freeze layers to improve performance)

  • Quality control (verify elements on correct layers)

Typical Workflow

1. User in configuration or setup selects [Layers]
2. lyr_dlg opens with default layer structure
3. User reviews standard layers:
   • PANEL-OUTLINE (main panel geometry)
   • PANEL-DIMS (dimensions)
   • PANEL-TEXT (notes, callouts)
   • PANEL-REBAR (reinforcement)
   • PANEL-EMBEDS (weld plates, inserts)
   • PANEL-DETAILS (section cuts, detail markers)
   • GRID (reference grid - no plot)
   • DEFPOINTS (AutoCAD system layer)
4. User customizes layer properties:
   • PANEL-OUTLINE: Color 7 (white/black), Continuous, Plot
   • PANEL-DIMS: Color 3 (green), Continuous, Plot
   • PANEL-REBAR: Color 1 (red), Hidden, Plot
   • GRID: Color 8 (gray), Dashed, No Plot
5. User adds custom layers:
   • PANEL-REVISION (revision clouds, markers)
   • PANEL-TEMP (temporary construction geometry)
6. User sets layer states:
   • Current layer: PANEL-OUTLINE (default drawing layer)
   • Frozen: GRID (speed up display)
7. User saves layer template
8. All panels use consistent layer structure

Control Semantics

Layer List

Layer Table:

  • lyl - Layer list display (scrollable table):

    • Shows all defined layers

    • Columns: Name, Color, Linetype, Plot, Status

    • Select layer to edit properties

Layer Operations:

  • lyla - Add layer (create new)

  • lyld - Delete layer (remove unused)

  • lyle - Edit layer (modify properties)

  • lylc - Copy layer (duplicate with new name)

Layer Properties (per layer)

Layer Name:

  • lyln - Layer name:

    • Naming Convention (critical for standards):

      • Discipline code + Category + Modifier

      • Example: A-WALL-FULL (Architecture-Wall-Full Height)

      • ConstructiVision: PANEL-OUTLINE, PANEL-REBAR, etc.

    • Rules:

      • Max 31 characters (AutoCAD limit)

      • No spaces (use hyphens or underscores)

      • Uppercase (standard practice)

      • Descriptive (REBAR not R1)

Color:

  • lylc - Layer color (ACI color index 1-255):

    • Standard Colors:

      • 1 (Red) - Rebar, steel, critical elements

      • 2 (Yellow) - Caution, temporary

      • 3 (Green) - Dimensions, annotations

      • 4 (Cyan) - Details, sections

      • 5 (Blue) - Text, notes

      • 6 (Magenta) - Special features

      • 7 (White/Black) - Main geometry, outlines

      • 8 (Gray) - Reference, guides, grids

      • 9 (Lt Gray) - Lighter reference

    • True Color: RGB values (modern CAD)

    • Color Book: Pantone, RAL (print standards)

Linetype:

  • lylt - Linetype:

    • Continuous - Solid line (most common):

      • Main geometry, outlines

    • Dashed - - - - - - (hidden lines, references):

      • Grid lines, hidden edges

    • Hidden - Short dashes:

      • Hidden reinforcement, obscured features

    • Center - Long-short-long:

      • Centerlines, axes

    • Phantom - Long-short-short-long:

      • Reference lines, future work

    • Custom - User-defined patterns

Lineweight:

  • lylw - Line thickness for plotting:

    • 0.13mm - Thin (dimensions, text, fine details)

    • 0.18mm - Standard (most geometry)

    • 0.25mm - Medium (outlines, important features)

    • 0.35mm - Thick (borders, titles)

    • 0.50mm - Very thick (special emphasis)

    • 0.70mm+ - Extra thick (borders, match lines)

Plot Settings:

  • lylp - Plot enable:

    • Plot (Yes) - Layer prints on final drawings

    • No Plot - Reference only (grids, guides, construction lines)

  • lylps - Plot style:

    • Color-dependent (CTB file)

    • Named plot style (STB file)

    • Override color for plotting

Layer State:

  • lylon - On/Off:

    • On: Layer visible

    • Off: Layer invisible (but loads)

  • lylf - Freeze/Thaw:

    • Thawed: Layer active, visible

    • Frozen: Layer ignored (faster performance)

  • lyll - Lock/Unlock:

    • Unlocked: Can edit objects

    • Locked: View only, cannot edit


Standard Layer Structure

ConstructiVision Default Layers

Primary Layers:

PANEL-OUTLINE
- Purpose: Main panel geometry (edges, shape)
- Color: 7 (White/Black)
- Linetype: Continuous
- Plot: Yes
- Typical content: Panel perimeter, major features

PANEL-DIMS
- Purpose: All dimensioning
- Color: 3 (Green) 
- Linetype: Continuous
- Plot: Yes
- Content: Dimension lines, extension lines, text

PANEL-TEXT
- Purpose: Notes, callouts, labels
- Color: 5 (Blue)
- Linetype: Continuous
- Plot: Yes
- Content: Text, leaders, bubbles

PANEL-REBAR
- Purpose: Reinforcement bars, mesh
- Color: 1 (Red)
- Linetype: Hidden
- Plot: Yes
- Content: Rebar symbols, schedules

PANEL-EMBEDS
- Purpose: Weld plates, inserts, hardware
- Color: 6 (Magenta)
- Linetype: Continuous
- Plot: Yes
- Content: Embed symbols, connection details

PANEL-DETAILS
- Purpose: Section cuts, detail markers
- Color: 4 (Cyan)
- Linetype: Continuous
- Plot: Yes
- Content: Section lines, callout bubbles

Reference Layers:

GRID
- Purpose: Reference grid system
- Color: 8 (Gray)
- Linetype: Dashed
- Plot: No (reference only)
- Content: Grid lines, labels

DEFPOINTS
- Purpose: AutoCAD system layer (dimensions)
- Color: 7
- Linetype: Continuous
- Plot: No (automatic)
- Content: Dimension definition points

PANEL-TEMP
- Purpose: Temporary construction geometry
- Color: 9 (Lt Gray)
- Linetype: Continuous
- Plot: No
- Content: Guides, construction lines

AIA Layer Standards (Alternative)

If using AIA CAD standards:

A-WALL-FULL (Architecture-Wall-Full Height)
S-BEAM (Structural-Beam)
S-COLS (Structural-Columns)
A-ANNO-DIMS (Architecture-Annotation-Dimensions)
A-ANNO-TEXT (Architecture-Annotation-Text)
etc.

Format: Discipline-Category-Modifier
Disciplines: A (Arch), S (Structural), M (Mechanical), etc.

Layer Management Best Practices

Naming Conventions

Consistent Naming:

? Good:
PANEL-OUTLINE
PANEL-REBAR
PANEL-EMBEDS

? Bad:
OUTLINE
REBAR1
embeds (lowercase)
WELD PLATES (spaces)

Hierarchical Structure:

PANEL-OUTLINE
  PANEL-OUTLINE-MAIN
  PANEL-OUTLINE-OPENINGS
  
PANEL-REBAR
  PANEL-REBAR-HORIZ
  PANEL-REBAR-VERT
  PANEL-REBAR-DIAGONAL

Color Strategy

Functional Color Coding:

Geometry: Black/White (7)
Dimensions: Green (3) - stands out, easy to find
Text: Blue (5) - readable, distinct from geometry
Rebar: Red (1) - attention-grabbing, steel = red
Reference: Gray (8) - subtle, background

Avoid:
- Yellow (2) - hard to see on white background
- Using same color for multiple element types

Plot Control

What Should Plot:

? Plot:
- Panel geometry
- Dimensions
- Text/notes
- Reinforcement
- Embeds
- Detail markers

? No Plot:
- Reference grids
- Construction lines
- Temporary geometry
- Guide lines
- Defpoints (automatic)

Integration

Called By: Configuration menu, CSV initialization, project setup Affects: All drawing generation modules (every entity assigned to layer)

Variables:

  • layer-list[] - Array of all layer definitions

  • layer-current - Active layer for drawing

  • layer-standards - Standard set (ConstructiVision, AIA, ISO, Custom)

Layer Creation:

(command "LAYER" 
         "M" "PANEL-OUTLINE"  ; Make/set current
         "C" "7" ""           ; Color white/black
         "L" "Continuous" ""  ; Linetype
         "LW" "0.25" ""       ; Lineweight
         ""                   ; Exit
)

User Example

Scenario: Setup layers for new project

1. User: Opens lyr_dlg from project setup
2. Select standard: ConstructiVision Default
3. Review/modify layers:
   • PANEL-OUTLINE: Color 7, Plot Yes ?
   • PANEL-DIMS: Color 3, Plot Yes ?
   • PANEL-REBAR: Color 1, Linetype Hidden ?
   • GRID: Color 8, Plot No ?
4. Add custom layer:
   • Name: PANEL-REVISION
   • Color: 2 (Yellow - caution)
   • Linetype: Continuous
   • Plot: Yes (show revisions)
5. Set layer states:
   • Current: PANEL-OUTLINE (default drawing layer)
   • Freeze: None (all active initially)
6. Save layer template: "ConstructiVision-Standard-2024"
7. Apply to all new panels
8. Result: Consistent layer structure across all 200 project panels

Common Issues

Layer 0 Warning:

?? Never draw on Layer 0!
Layer 0 is special in AutoCAD (block insertion layer)
Always draw on named layers

If objects on Layer 0:
- Move to appropriate layer
- Layer 0 should be empty (or only block geometry)

Defpoints Layer:

?? Do not delete DEFPOINTS!
AutoCAD system layer for dimension definition points
Auto-created, auto-managed
Should not plot (automatic)

Too Many Layers:

? Problem: 50+ layers = confusing, hard to manage
? Solution: Use ~10-15 core layers
           Group similar items on same layer
           Sub-layers only if truly needed

Documentation Metadata

Enhancement Status: ? COMPREHENSIVE - ENHANCED [8/8]


End of Document