Understanding Layer 0, ByLayer and ByBlock in LusoCAD

Understanding Layer 0, ByLayer and ByBlock in LusoCAD

Sempre que cria um novo desenho, verá uma layer predefined Layer0. You'll soon realise that you can't delete it.

Then, when setting its properties, such as colour, line thickness, etc., you'll see properties ByLayer and ByBlock. Many of you will already know what ByLayer. But you also know how the ByBlock?

  • A Layer0 is a predefined LusoCAD layer. You can create geometry in your blocks on it. When you insert these blocks, they will use the active layer. When you move this block to a different layer, the objects inside it will use it and ignore the active layer. Layer0.
  • When you define the properties of an object (colour, line thickness, etc.) as ByLayer, all its properties will use the same properties defined in the layer's properties.
  • When you create geometries in your block using ByBlockYou can then override its properties after the block has been placed.
  • When you create geometries in your block with something other than ByLayer or ByBlockthen you won't be able to replace these properties once the block has been placed.

Example of Layer 0, ByLayer and ByBlock

  1. Open a new file and create two layers; you can give them any name. Define different colours and line thicknesses so we can easily distinguish them later.
    Layer Properties Manager including Layer 0, Layer 1 and Layer 2
  2. Now we're going to create 4 objects; in this example, we've created circles:
    - First circle: use layer0, colour: ByLayer, line thickness: ByLayer
    - Second circle: use layer0, colour: ByBlock, line thickness: ByBlock.
    - Third circle: use layer0, colour: red, line thickness: 0.5 (we set this value high to make it easier to see).
    - Fourth circle: use layer1, colour: ByLayer, line thickness: ByLayer.

  3. Create 4 blocks, one from each of the circles. Now select these four and then change their layer to Layer2. You can see that blocks 1 and 2 use the properties of the Layer2But blocks 3 and 4 continue to use their own properties.

  4. Now replace the colour and line thickness. Let's apply the colour green and a line thickness of 2. You can see that the only block to use the replaced properties is block no. 2!

Only block 2 is using the block properties, because we've defined the geometry properties as ByBlock.

Now freeze the Layer1. We can see that block #4 has disappeared, because the object inside it was created in the Layer1.

Defrost the Layer1to return to block 4. Now freeze the Layer2. Remember that we moved all the blocks to this layer.

What happened?

All the blocks have disappeared, including block no. 4! This block also disappears because the block itself is using Layer2. When we freeze Layer1, The block remains visible, but the geometry inside it disappears. This will be clearer if we have another object with a different layer inside that block.

Defrost the Layer2 and then freeze the Layer0. None of the blocks disappear! Remember that we created the geometry in blocks 1, 2 and 3 using the Layer0? They will ignore it and use the new properties.

If you want to understand this behaviour better, try creating more objects in your blocks. Assign different properties to them.

en_GBEnglish

LusoCAD TRIAL Version

Spanish version:

English version:

LusoCAD More Info

LusoCAD TRIAL Version

LusoCAD

Below you will find a comparative table of the main functionalities available in LusoCAD 2027 and AutoCAD® 2027.

LusoCAD vs AutoCAD®

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
64-bit Support
.dwg for AutoCAD version R14 to latest
.pat,.shx,.lin and etc
Password Protection
File Recover and Audit
Purge
Etransmit
Sheet Set Manager
CAD Standard .dwsX
DWF Underlay
PDF Underlay
DGN Import and Underlay
DWG Convert
Import to WMF, SAT, 3DSPartiallyPartially
Export to DWG, DWF, DWFX, WMF, SAT, STL, EPS, DXX, BMP, EMFPartiallyPartially
Plot and Publish to PDF
Publish to DWF 2D & 3D
IFC Import/Export and EditXXX
RVT Import and EditXXX
Single-document Mode
Digital Signature
Batch Digital Signing Tool
Reset Settings to Default.
Mark UpXXX
STEP/IGES FilesXX
DWGUNITS
Drawing MergeXX
Connected Support FilesXXXX
Activity InsightsXXXX
Connected ReferencesXXX

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
3D Modelling Workspace
Quick Properties
Block Palette XXX
Dark Theme
Hidden Message Settings
WorkSpace command
CUI Menus and Toolbars X
CUI Import & Export
Drag and Drop Customisation XX
Visual Menu Customisation
Ribbon/Classic
Properties Palettes
Design Centre/Tool Palette/Xref Palette
Command Line
Clean Screen
Dynamic Input and Auto Complete
Clickable Command Line Options XXX
File Tab
Floating Windows XXX

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Navigation CubeX
3D Mouse Device Adaption
Lasso Selection
SELECTIONCYCLING
Right-Click + Drag Method
Selection Preview
Selection Effect Customisation XXX
Quick Select
Select Similar
Multifunctional Grips
OSnap
Grid and Snap
Polar & OTrack
Group
Distance from Endpoint and Divide Segments XX
ADDSELECTED Command
Multiple command

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Quick Measure by Hovering Rapid Distance Rapid Distance Rapid Distance
DIMCENTER Command PartiallyPartially
Reassociate Dimension
DIMTOFFSET XX
Standard Dimensions
Associative Dimension
Dimension Break
Quick Dimension
Qleader
Dynamic Dimensions
Multileaders
Voice Annotation XX

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Auto ConstraintXXXX
Coincident ConstraintXX
Perpendicular ConstraintXX
Parallel ConstraintXX
Tangent ConstraintXX
Horizontal ConstraintXX
Vertical ConstraintXX
Collinear ConstraintXX
Concentric ConstraintXX
Smooth ConstraintXXX
Symmetric ConstraintXX
Equal ConstraintXX
Fix ConstraintXX
Constraint SettingsXX
Delete ConstraintsXX
Show/Hide ConstraintXX

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Linear ConstraintXXX
Horizontal ConstraintXXX
Vertical ConstraintXXX
Aligned ConstraintXXX
Angular ConstraintXXX
Radius ConstraintXXX
Diameter ConstraintXXX
Constraint SettingsXXX
Delete ConstraintsXXX
Show/Hide ConstraintXXX
Parameters ManagerXXX
Dynamic Constraint ModeXXX
Annotational Constraint ModeXXX

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Mtext
Text
Multi-language Character Set
In-place Text Editor
Mtext Superscript and Subscripts
Support .shx and .ttf font
Spelling
Fields
Text Align / Text Match Text AlignText Align
Change Text X X
Mtext Editor
Text Incremental Copy X X
Text on lineX X
Statistics SummationX X
Check spelling in Mtext
Revcloud
Wipeout X X
Automatic Text Numbering

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Auto Layer XX
Change to ByLayer (SETBYLAYER)
Layer Properties Manager
Layer States Manager
Layer Translator X
Layer Walk
Layer Previous
Layer Isolate
Layer Unisolate
Layer Lock
Layer Unlock
Layer Unlock All XX
Lock Other Layers XX
Layer Freeze
Freeze Other Layer XX
Thaw All Layers
Layer Off
Off Other Layer XX
Turn All Layers On
Layer Merge
Layer Delete
Layer Match
Viewport Layer

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Hatch objects from Tool Palettes
Gradient Hatches
Custom Patterns
Background and Colour for Hatch Patterns
Trim/Extend of/to Hatch Pattern Entities
Superhatch X
Transparency for Hatch
Trim/Extend/Hatch preview

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Raster Image Support (Clipping, Transparency, ...)
Support Kinds of Image Files (bmp, jpg, png, tga, tif, gif, pcx, ...)

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Lockup Command X X
Layout Merge
Synchronise Viewports
Breakpoint Check (CLOSELINE)XX
Fast Select (FASTSEL)
Change Base XX
Layer Draw Order XX
Stat, Blocks Number Count CommandCount Command
Area TableXX
Break Object XX
Block Break XX
Graphic Compare XX
Batch Purge XX
Layout by Path Array pathArray path
Line2pl XX
SptplXX
LusoCAD Tools XX
Plot tools XX
Drawing Compare DWG CompareDWG Compare
Delete Duplicate Objects (OVERKILL)
Drawing Lock XX
Block Replace

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Hardware Acceleration X X
Break at Point
Region X
Areasum XX
Draw and Modify Commands
Outline Objects XX
Align Tool / Arrange Tool XX
Real Time Pan & Zoom
SteeringWheels XXX
Magnifier XXX
Redraw and Regeneration
Layout and Paper Space
Non-rectangular viewports
Layout Viewport settings
Multilines and Multiline Styles X
Block create and insert
Redefine Block
Refedit
Dynamic Block - Create/Insert/View Partially
Block Attribute Definition
Barcode & QRcode XX
Dynamic Block Editor (BEDIT) Partially
Table ToolsXX
Table
AutoXLSTableXX
Make Shape
Import Layout as Sheet
Viewport Scale
Attribute Increment XX
Define Layout Viewport from ModelSpace (M2LVPORT) XX
Security X
Free Scale XX
Hatch to Back
Reverse
Synchronise Attributes
Clip
Array Options
Symmetric Draw XX
Smart centrelines/center marks XXX
Invert Fillet XX
Offset Multiple
Helix
Cloud Storage
Design share XX
Shortcut Customisation (CUSTACC) XX
Match Properties Across Drawings
Hyperlink
Digitizer Integration
Scale List
Pline Boolean XX
Xref path repair XXX
Undo/Redo Preview
VPMAX/VPMIN
Table
Barcode & QR Code XX
Non-rectangular viewports
Block Attribute Definition
Dynamic Block Create/ Insert/View/Edit Partially
Smart Blocks XXXX
Geometry TinkeringXXX
AI AssistantXXX
Forma Data Management EssentialsXXXX
CheckoutXXXX

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
POLYSOLID XX
PLANESURF XX
SURFOFFSET XX
CONVTOMESH XX
CONVTOSOLID XX
CONVTOSURFACE XX
CONVTONURBS XX
Point Cloud X
3D Edition Grips XX
Section Plane XX
Flatshot XX
Solid editing XX
3D Surfaces X
ACIS Modelling & Editing XX
Camera XXXX
3D Orbit options X
Render XX
Visual Styles ManagerXX
Solprof / Solview / Soldraw XX

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
CTB & STB Plot Style Files
Built-in Print Driver
Import & Editing of Page Setups
Publish
Hide and Shade Plot
Batch Print XX
Arrange Frame XX
Plot Styles Table Editor
3D Print Studio XXXX
AUTOPUBLISH

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Load Python
LISP Debugger X
LISP vl-, vlr-, vla- and vlax X
LISP Encryption
(SDS/ADS) X
DCL / DCL engine / COM API X
Visual Basic for Applications X
VBA VBI projects support XDVB
.Net Framework X
GRX (LusoCAD Runtime eXtension) XARX
CUI Menu Support/Diesel Expressions
Diesel Expressions
MNU and MNS File Support
API (Toolbar & Menu Customisation) X
Entity Data EditorX
Action Recording and Action MacrosXXXX

LusoCAD 2027

AutoCAD®2027

StdProPremiumLTFull
Subscription
Perpetual Licence XX
Stand-alone USB dongle XX
Network USB dongle XX
Stand-alone Licence
Network Licence XX