What is layer '0' used for?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
What is layer '0' used for?
Hi,
In a mechanical drawing what is intended to be drawn on layer '0', as opposed to, say, the Outline layer? (I'm referring to the AEC layer template shipped with QCAD.)
Chris
In a mechanical drawing what is intended to be drawn on layer '0', as opposed to, say, the Outline layer? (I'm referring to the AEC layer template shipped with QCAD.)
Chris
Re: What is layer '0' used for?
Layer '0' is for historical reasons always present and cannot be deleted.
In most cases, it should not be used unless you are working on a very simple drawing that does not use layers. In this simple case, you might want to create everything on layer '0' and not worry about layers at all.
In most cases, it should not be used unless you are working on a very simple drawing that does not use layers. In this simple case, you might want to create everything on layer '0' and not worry about layers at all.
Re: What is layer '0' used for?
Traditionally Blocks (symbols) can be created on Layer 0 in programs like AutoCAD and Microstation with Colour, Line type and Line width set to 'by layer', once inserted the block/symbol will then have the attributes of the layer upon which it is inserted. Hope this makes sense
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: What is layer '0' used for?
Hi Clive,
However, in QCAD, if you draw your entities on layer 0, and set Colour, Linetype and Lineweight to 'ByLayer', and then add those entities to a block, when the block is inserted the entities always take on the values of layer 0, not the values of the layer on which it is inserted. You need to set the Colour, Linetype and Lineweight to 'ByBlock' to have the entities take on the values of the layer on which it is inserted.
riverbuoy
That is how it works in Autocad.Clive wrote:Traditionally Blocks (symbols) can be created on Layer 0 in programs like AutoCAD and Microstation with Colour, Line type and Line width set to 'by layer', once inserted the block/symbol will then have the attributes of the layer upon which it is inserted. Hope this makes sense
However, in QCAD, if you draw your entities on layer 0, and set Colour, Linetype and Lineweight to 'ByLayer', and then add those entities to a block, when the block is inserted the entities always take on the values of layer 0, not the values of the layer on which it is inserted. You need to set the Colour, Linetype and Lineweight to 'ByBlock' to have the entities take on the values of the layer on which it is inserted.
riverbuoy
Re: What is layer '0' used for?
Ah, yes the story continues, thanks for the next chapter.riverbuoy wrote:That is how it works in Autocad ....However, in QCAD
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: What is layer '0' used for?
Hi everybody
... and I'm pretty happy that this block doesn't adopts the actual Layer attributes.
If I need a block with just one layer I would design this block in first place onto the right layer. Isn't that right?
For what do I need that? Usually my blocks are build with using a couple different layers - like this one:riverbuoy wrote:... to have the entities take on the values of the layer on which it is inserted.
... and I'm pretty happy that this block doesn't adopts the actual Layer attributes.
If I need a block with just one layer I would design this block in first place onto the right layer. Isn't that right?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: What is layer '0' used for?
agreedHusky wrote:... and I'm pretty happy that this block doesn't adopts the actual Layer attributes.
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: What is layer '0' used for?
Using layer 0 to draw library object has the advantage of NOT creating any new layer (with names you can not figure out any more what they should mean) when you insert the block in a design maybe already crowded with very meaningful layer and sublayernames...
Layers other than 0 used to define your block will pop up in your layer list and create some hard to understand behavior like "parts of the object disappear when hiding the unwanted layers". Am I right? Somewhat puzzling to me.
I would prefer that a block/library object would be just ONE object belonging to the layer where it is placed on with no addition of new, unwanted layers to the list.
Am I missing the point?
PCe
Layers other than 0 used to define your block will pop up in your layer list and create some hard to understand behavior like "parts of the object disappear when hiding the unwanted layers". Am I right? Somewhat puzzling to me.
I would prefer that a block/library object would be just ONE object belonging to the layer where it is placed on with no addition of new, unwanted layers to the list.
Am I missing the point?
PCe
Re: What is layer '0' used for?
Basically there is no right or wrong doing! It depends on what everybody needs to be accomplished with his block/library management.
Check this test drawing. I have a block which is sometimes needed as it is (1) - sometimes hidden behind other objects (2). I needed an easy way to insert this block for this two occasions without creating or watching additional layer or the visible/invisible status. This will work for the two mentioned situations - it will fail if the block is partly behind an other object. Only then I have to modify the inserted block.
The behavior is based on this settings:
Now you: Can you figure out what I have done to receive this effect?
Yes and no. To show the correct Linetyp like dashed for invisible or dash/dot for axis/symmetry is a very important information in your drawing. Just to draw everything in the same Linetyp will put a drawing to the status "unusable'.PCe wrote:... Layers other than 0 used to define your block will pop up in your layer list and create some hard to understand behavior like "parts of the object disappear when hiding the unwanted layers". Am I right? Somewhat puzzling to me.
Possible!PCe wrote:I would prefer that a block/library object would be just ONE object belonging to the layer where it is placed on with no addition of new, unwanted layers to the list.
Check this test drawing. I have a block which is sometimes needed as it is (1) - sometimes hidden behind other objects (2). I needed an easy way to insert this block for this two occasions without creating or watching additional layer or the visible/invisible status. This will work for the two mentioned situations - it will fail if the block is partly behind an other object. Only then I have to modify the inserted block.
The behavior is based on this settings:
Now you: Can you figure out what I have done to receive this effect?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: What is layer '0' used for?
Husky,
you overestimate my understanding of the issue... I don' really see your point. Your block is drawn on layer 0 (everything) with different line types and colors which is preserved (I welcome this behavior) when using the block.
Can you please comment on "Entities in blocks on layer 0 take on attributes of .... (compatibility)"?
What's the effect?
TNX - PCe
you overestimate my understanding of the issue... I don' really see your point. Your block is drawn on layer 0 (everything) with different line types and colors which is preserved (I welcome this behavior) when using the block.
Can you please comment on "Entities in blocks on layer 0 take on attributes of .... (compatibility)"?
What's the effect?
TNX - PCe
Re: What is layer '0' used for?
I don't think so - you already figured out what I have done with the block ....PCe wrote:Husky,
you overestimate my understanding of the issue...
Correct!PCe wrote:Your block is drawn on layer 0 (everything) with different line types and colors which is preserved.
The benefit is that every entities in the block which has been drawn on 0 WITHOUT getting it own attributes like color, linetyp etc. will adopt the attributes from the layer on which it is insert.PCe wrote:Can you please comment on "Entities in blocks on layer 0 take on attributes of .... (compatibility)"?
What's the effect?
Make a test with my example drawing: Insert the block on layer 0 and then insert the same block on layer Hidden. You will see that only the outline will adopt the Attributes of the chosen layer. Create a couple more layers with different attributes to test it with them too.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."