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 Groups

Started by Dr PR, December 12, 2015, 09:19:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Does anyone know how to make Layer Groups work? I have tried to use them in V22.1,  V23.1 and V25.1 and nothing seems to work.

From the new Layers Dialog ("L" or "Options/Options/Layers") when I right click on the layer box one of the options is "Define Layer Group." If I recall correctly, the old Layers dialog had a button for defining a Layer Group.

A new "Define Layer Group" dialog opens that has an "All Layers" box on the left and a "Group Layers" box on the right, with "Add ->" and "<- Remove" buttons between them. A box at upper right allows the Layer Group to be given a name.

But all I see is an empty "All Layers" box. There are no layers to be selected for moving into the "Group Layers" box.

This is in a drawing with 35 named and occupied layers. I have tried it without first selecting any layers in the Layers Dialog and after selecting (highlighting) some layers. I have enabled and disabled nested groups. No joy! Nothing seems to work.

Has anyone ever figured out how to make this work?

Phil
DesignCAD user since 1987

magic

Hi Phil,

In the Define Layer Group window you need to Add Group, then you get the layers in the All Layers column to choose from.
It's a kind of magic!




samdavo

BobP added some fantastic macros on the subject of grouping layers (and naming those sets).
Reply #3 here :-  http://forum.designcad.com/index.php?topic=5747.0

Having said that, I haven't tried them since V22.

To make it easy, I attach the macros below.

PS Included there is his help file, which reads as follows :-
QuoteBob's Layer Manipulation Suite (sweet...)
Bob Putnam ([email protected])
----------------------------------------------------------------

Program: mall.d3m
Changes to Edit all layers

Program: mclo.d3m
Edit current layer only

Program cl.d3m
Makes the layer of the selected entity the current one

Program: hsl.d3m
Hide Selected Layers"
The program will hide the entities in the layers of the entities selected.
If the current layer is to be hidden, the program will ask for a new current layer.

Program: l.d3m
Changes to or changes entities to a given layer
At the command line type l <n>, where n is a layer number.
If there are entities selected, they will be changed into that layer.
If there are no entities selected, n will become the current layer.
The color will be changed to that in the colors.txt file.

Program: shl.d3m 
Displays all layers

Program ssl.d3m 
Show Selected Layers"
If no entities are selected, all layers (up to 125) but the current one are hidden
If entities are already selected, the layer of the first is made current and the rest are left visible

-----------------------------------------------------------------

The following are a group of programs that allow you to remember up to 19 layer
configurations that associate with the current drawing.  That is, each drawing can
have its own set of "views".  They can be recalled, added, subtracted, replaced
and new ones saved.  When you save a layer state (savl.d3m), you will be asked for a short
description, which will be shown when you run the other programs. The layer states
are saved in files that are named <filename>.dv(n) where n is a letter from a-q

Program: savl.d3m
Saves the current layer state to a file for retrieval by rv.d3m, av.d3m, subv.d3m

Program: rv.d3m
Retrieves a saved layer group to display from file

Program: av.d3m
Adds a layer group to the current view

Program: subv.d3m
Removes a layer group from the current view


Bob P

I'm semi-retired now and hardly ever do CAD stuff any more.  I think I've changed a couple of things though.  I'll check tomorrow when I go into "work".