News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Creating Layer Groups

Started by Steve Edwards, October 20, 2022, 12:05:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steve Edwards

My design drawing is getting very heavy with Layers, to date I have 54. Each Layer has a component on it (54 components). The components relate to 1 of 5 sub assemblies, in my case Magnetic Drive, Servo Bay, Electrical components, Battery and Motor Bay, and finally Ballast Tank.

I have consulted the on-line manual but found it to be at odds with the version of TC I'm running. On a copy of my drawing file ,so that I don't corrupts all my work, I have tried to create layer groups without success. My aim is to place components relating to each module into a their named layer group (using my defined sub-assembly names). 
My hope is to work on one sub-assembly whilst the others are hidden (not visible) with less layers to wade through. At any time be able to switch to another sub- assembly layer group, but also show all layers (54 of them)  when the design is finished.
   
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Torfinn

Have you checked out Layers Filter

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Steve Edwards

I'm not sure I can work out how Layer Filters work. Looking at older posts on the subject neither can many others. 
I can set up with my own method instead by prefixing the layers with a alphabet letter.
Eg.
A Base Plate
A Motor
A Coupling
B Servos
B Shaft
B linkage
C Battery pack
C Wiring
Etc......
Clicking on the Layer Heading instantly orders the components (layers) ascending, a second click reorders descending.  
Not a filter or group but a lot easier
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Torfinn

And that is exactly what a Layers filter can do :)
And also control each layer inside the filter, if you want it to be visible or not in example
Only downside is the P space, as you can't use Layer Set to tell TC what should be visible or not.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Steve Edwards

Hi Torfinn
Hmmm. I'm not sure we are seeing the same thing on screen. In the Design Director under Layers there is an option to create a new Layer Filter as per highlight in image.

You cannot view this attachment.
I created a new layer Filter "Magnetic Drive"
You cannot view this attachment.
I don't know what to do with this, It asks for a Parent Filter ? Then under column "Name" there is just a Wildcard *.

No help files and no instructions, I'm totally confused.
Is this Layer Filter that you are suggesting or something different?
Thanks for your interest
Steve
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Alvin Gregorio

I like using Layer Sets.  Instead of-- or in some Drawings, in conjunction with-- Layers Filters.

The easiest way to get started getting accustomed to using Layers Filters-- the easiest way to create your first Layers Filter is:  Select all the Layers you want in that Filter group, including 0 and $CONSTRUCTION, and invoke the New Layer Filter command.

Then once you become accustomed to it, you can add/remove Layers within that Filter using other Parameters (the simplest is simply to copy/paste the Name of a Layer into the Filter Parameters table, or deleting a Layer Name.

_
Note:  There's something about adding Layer 0 (or omitting Layer 0) within a Layers Filter that has been known to potentially cause an issue; but I have forgotten what that it is and if it has been remedied.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Torfinn

Alvin is correct about the easiest way to make Layers filter, select the layers, right click and select New Layers Filter, Tab and then Ok will make it quick and easy
Later you can drag a layer in or out of the filter if you want to add or remove it from the filter
The layers will not be deleted, only moved in or out of the filter.
If there is a lot of layers and difficult to drag a layer to a filter, then just copy it's name and then Edit the filter and at the bottom of the upper pane paste it, Tab and then Ok will add it to the bottom pane and you are good to go

The issue Alvin was talking about is a drawing that have a bunch of Filters with Layer 0 in all of them
TC don't like that at all and get very confused, imagen that there are 12 Filters where it is turned of and 3 Filters where it is turned on, what the heck to do?? TC think, and make all sort of "fun" inside the drawing when it bangs it's head into a wall or something.
There is nothing to be fixed about that at all, except maybe make it impossible to add 0 to a filter ?

So never ever add layer 0 to a filter is the lesson here :)

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Steve Edwards

This is still not making sense, I can create a  New Layers Filter, I can Name it, I can view the Properties of the newly created Filter set.
The Parent Filter contains a "-" and the drop down menu contains nothing (what is this for ?)
The Name column contains on line 1 "*"  and Insert Wildcard allows me to change this and I kind of get this.
In the filtering results and with "*" as the wildcard I can see all 54 layers.
If I click on a Layer I get the option of Refine using this value, Refine Excluding this value, Add all with this value, Add all without this value. I tried Adding all with this value and it pops the layer under the "*" top name. If you delete the "*" you loose everything.
I'm at a loss at this point.
Then even if I create a Filter Set how how do Layer Sets come into things.
My brain hurts
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Torfinn

Thats because you don't have any layers selected when you choose to make the New Layers filter, TC don't have anything to add in to that filter

Try to just select 3-4 random layers first, then make New Layers filter and you will see it work
Afterwards you just delete the Layers filter and they are back to "normal" again

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Alvin Gregorio

Layer Sets and Layers Filters are different animals.  Both useful, in their own way.
We can use either, or both.

With Layer Sets:  We can have all the Layers set to Visible, but select only a Layer Set (one of many, perhaps, that we created) to display-- though all the Layers will still be listed in the Layers Palette (unlike with Layers Filters-- only the currently active Layers Filters would be listed in the Layers Palette... one could imagine the difficulty of scanning through a hundred or two-hundred Layers, to make some Visible, Invisible, Locked, etc.)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Houseplan2

#10
or  really simple way is to keep using your layer setup as you have done

A Base Plate
A Motor
A Coupling
B Servos
B Shaft
B linkage
C Battery pack
C Wiring
Etc......

then select the category (for example all the B category) by using the SHIFT key and switching that category to INVISIBLE...

until you need them on again.

Houseplan2

#11
Quote from: Alvin Gregorio on October 21, 2022, 04:13:18 AMI like using Layer Sets.  Instead of-- or in some Drawings, in conjunction with-- Layers Filters.

The easiest way to get started getting accustomed to using Layers Filters-- the easiest way to create your first Layers Filter is:  Select all the Layers you want in that Filter group, including 0 and $CONSTRUCTION, and invoke the New Layer Filter command.

Then once you become accustomed to it, you can add/remove Layers within that Filter using other Parameters (the simplest is simply to copy/paste the Name of a Layer into the Filter Parameters table or deleting a Layer Name.

_
Note:  There's something about adding Layer 0 (or omitting Layer 0) within a Layers Filter that has been known to potentially cause an issue; but I have forgotten what that it is and if it has been remedied.
it
I believe layer 0 is the master layer which all good CAD programmes contain. You need it to create new layers from. it can't be deleted or renamed, most people don't draw on layer 0, well at least I don't, unless it is an object that should never be changed such as a company logo for example. therefor it should not be included in layer sets and should be left alone.

Alvin Gregorio

#12
Quote from: Houseplan2 on October 22, 2022, 05:25:24 AM...
I believe layer 0 ... should not be included in layer sets and should be left alone.

Actually, Layer_0 should be included in all Layer_Sets-- when using TurboCAD's Layer_Sets functionality.

Torfinn is suggesting that Layer_0 should not be included in any Layers_Filters.  (however, I don't see the harm, as long as we never set Layer_0 to Invisible within the overall Layers Palette, nor any Layers_Filter) [Torfinn has re-educated me as to why it's not good practice]
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Torfinn

""
I don't see the harm, as long as we never set Layer_0 to Invisible within the overall Layers Palette, nor any Layers_Filter)
""
The harm is that we will turn off/ on Layer 0 every time we turn on/ off a filter.
Then some filters will show 0 is on, but in fact it is maybe off as we just closed a filter.
And if we never turn on/ off a filter, what is then the point of having them, it's easy to use a prefix thing before the layer name to sort it somehow IMO.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Alvin Gregorio

Quote from: Torfinn on October 22, 2022, 09:03:58 AM""
I don't see the harm, as long as we never set Layer_0 to Invisible within the overall Layers Palette, nor any Layers_Filter)
""
The harm is that we will turn off/ on Layer 0 every time we turn on/ off a filter.
Then some filters will show 0 is on, but in fact it is maybe off as we just closed a filter.
And if we never turn on/ off a filter, what is then the point of having them, it's easy to use a prefix thing before the layer name to sort it somehow IMO.

Torfinn
Understood.  Thanks Torfinn
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Steve-- If you PM me an email address or Cloud share location, I will share with you a small architectural remodel/addition (burn job) that I did in TurboCAD that I now see has 72 Layers, 17 Layers Filters, and 17 corresponding Layer Sets.

In case there is something you can glean from that.
-Alvin
___
and... after reviewing this file I last visited many months ago, I now see this was a problem file I had-- that problem emanating from my previously having Layer_0 within my Layers Filters, before Torfinn coached me back then to not do that
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Steve Edwards

I can see the conflict if layer 0 is included in a Layer Filter.
My general practice is not to use Layer 0 for anything, it does by default hold the Lights. Rendering with Layer 0 off becomes a problem (no Light)

As far a Layer Filters are concerned my aim was only to include Layers pertaining to each sub-assemblies. My construction 2D Layers, Layers 0, and Dimensions would be left out.

I note the post by Houseplan2. In some respects this is the simplest solution. As this orders or groups the layers alphabetically (ascending or descending) highlighting a consecutive layer visible on/off is easy. 

I would like to understand Filters and Set though
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Torfinn

Link to a quick video about Layers filter
At the top or bottom of Playlist

https://www.youtube.com/playlist?list=PLMQ-TW3EOJQoPcirsZe9JHWPGi5VmtRON

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Steve Edwards

Hi Torfinn and Alvin,
I have made some progress and realised the order in which you do things makes a big difference.
Your video Torfinn and Alvin's instructions have clarified things for me.
I assumed (wrongly) you clicked on the New Layer Filter 1st which brings up the dialogue box asking you to name the filter, after naming and clicking okay I am presented with a large dialogue box where all Layers show in the lower half of the box under the heading 
Filtering Results:
Trying to select the Layers in this table you are presented with   Refine using this value, Refine Excluding this value, Add all with this value, Add all without this value. 
This is what confused be because I was doing things in the wrong order !  

What you actually do is select (highlight) all the Layers you want in the filter by turning them light blue, right click on them to bring up the sub menu from which you select New Layers Filter. Then in the dialogue box "enter a name for the filter" pops up and after entering a name and clicking okay Bingo a new filter is created, and most importantly with only the highlighted layers present. It works

Alvin, Your example drawing file would not open with my version of TC, I'm on 2020 Pro Plat and I'm guessing the file is from a newer version ? and Torfinn I have found another source of instructional YouTube videos, I see you have done quite a few.

Thanks Steve 





TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS