DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Layer options

Started by metrognome, February 07, 2013, 04:19:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prl

#15
Quote from: G-Bob on February 17, 2013, 12:19:18 AM
But, logically, if I load a drawing, should the layers also load (pertaining to that drawing)
i.e If I had a drawing called Bayside and another called Coastal, should there not be a Bayside_Dc_Layers.ini and a Coastal_DC_Layers.ini

At the risk of not really understanding what you need, I offer my general observation that DesignCAD layers are terrible if you are talking about merging one drawing or parts and pieces of older drawings into an existing working drawing.   Layer names don't transfer with the entities and if your layer index numbers from your source drawing don't exactly match your current drawing layer arrangement, you are likely to have "beams" in your "windows" layer.  If this is what you are talking about, there is little hope this will be fixed.  DesignCAD's layering system using index numbers was a terrible early-on mistake that is now permanent.


dcadRob

QuoteSo my layers depicted everything I needed (all variations)
If you need lots of control over layers, I suggest writing a macro which reads layer information from a text file. In that way, you could have several layer configurations and load whichever one is applicable.

If you also write a macro which saves the layer information from existing drawings, then you could quickly create the necessary text files.

G-Bob

Hi prl

My issue was I created a drawing with 129 layers

Save and exit ...all good
Start a new instance of DC ........ clean sheet

click on options/layer  and all my 129 layers are still there (is this a bug with 22.1 ?)
I am just over a week into 22.1 and haven't played with any properties yet

Now I hit "L" and the new layers options come up    (all 129 still showing)
right click on layer, brings up menu, hit clear all layers....... goes clear
hit ok and window collapses (there is the mistake .... ok)  ... in reflection

So far so good
Go back to options/layer ......  surprise all 129 show up again
Hit "L" again and right click and clear again........ but hit apply and that does the trick (thanks Lar)

So I don't have a need to merge drawings

Should I not be able to start a fresh instance of DC every time with clear Layers ?
That is my question ?

If Bayside and Coastal are two different files, should they have their own named layers ????

Should there be ?

Bayside_DC_Layers.ini

and

Coastal_DC_Layers.ini

As I stated before, my first big time in layers, so this is new to me


G-Bob





l

magic

Hi G-Bob,

The .ini files are loaded upon DesignCAD startup.

If you want particular layers for your different drawings, I suggest you use the template method that I outlined earlier: http://forum.designcad.com/index.php?topic=4805.msg30483#msg30483
It's a kind of magic!




prl

#19
Quote from: G-Bob on February 18, 2013, 01:07:44 AM
Should I not be able to start a fresh instance of DC every time with clear Layers ?
That is my question ?

Sure, that is the way is it always used to be until users requested what you see now.   I use the method Magic has suggested. Crreate some master template files and keep them in a separate template folder.  Then I drag and drop a copy into my work folder and start from them.  Also I use a startup macro that sets most other settings for me.


Edit: Amazing how I can write something, read it a few times, post it, and later I read it again . . . . only to see silly errors.

Dr PR

I agree that the Layers Dialog "Apply" button is an accident waiting to happen. It should pop up a warning saying that all new drawings will have the layer names of the current drawing. Opening a new drawing and finding a plethora of unwanted old layer names can be a surprise.

The solution is to delete all the layer names and then click the "Apply" button again to get the Layers Dialog configuration you want without any layer names.

It would be nice if we had a separate "Save Names" button to make the existing layer names apply to future drawings and a "Save Configuration" button to save just the layer dialog configuration.

Phil
DesignCAD user since 1987

Lar

G-Bob, if you want to start new drawings with no layer names then open a new drawing, 'clear all names' and then 'save as default'. The blank names may not kick in until you close and restart dcad.

Lar

G-Bob

Thanks Lar

That works

G-Bob