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.

Help needed in understanding layers

Started by rictheobscene, June 07, 2014, 08:03:55 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

rictheobscene

Good Day:

I am relative new to DesignCAD, and the version of this software I am running is 23.1 (from help -> about screen). I am working in 2D mode.

To help you help me, my background is not as a traditional engineer. I am an electrician that learned controls, electronics and instrumentation by day and an independent musician by night. By default, I became very familiar with Adobe Illustrator while doing my own CD covers, and actually did my first set of technical drawings in that package. I discovered IMSI and their product line, bought DesignCAD 3D Max v 23, RTFM'd and away we went. So, my concept of layers is rooted in how they are implemented in Illustrator.

I have read the section regarding layers in both the online help file and the User's Manual that is supplied in the Acrobat manual. It is my understanding that layers in DesignCAD work in the same fashion as Illustrator with respect to layer order / index and how they are displayed on the screen; the lowest layer index number with content is the front layer, and the highest layer index with content is the back layer, and the other layers with content are ordered sequentially.

For example.

I have layer index 1. It is named junction, and it has a circle with a solid black hatch applied inside of it.
I have layer index 7. It is named wire - dc positive and it has 2 intersecting red lines drawn on it.

The center of the hatched circle on layer 1 is aligned over the intersection of the two red lines. What I expect to happen is for the hatched circle to cover the portion of the red lines beneath it, but just the opposite is happening. The red lines are on top of the hatched circle.

Regenerating the drawing doesn't help.

If I go to Edit -> Selection Edit -> Display Order and use the commands there, I can get the result I want. However, I would like to accomplish it just by using layers.

I am 99% sure that this is the result of an incorrect setting or a complete misunderstanding of the layer implementation. Everything I have tried on my own has been unsuccessful. Any help that this community can provide would be greatly appreciated.
With Kind Regards:

Ric Kinney (aka Ric(†he)Obscene)

prl

#1
Entity order is the primary way DesignCAD shows things.  Meaning the oldest items get drawn first with newer items on top of those.  As DC is cycling the entities database to draw them, it merely looks at the layer setting to see whether they should be displayed (on/off).

But you can control the entity regeneration sequence using layers as you describe but it only sorts the entities database when you use the command at that instance.  Once you start drawing more things, you are back to creation order.   (What I'm trying to say is that menu item is a command, not a setting.)

Anyway, the command you are looking for is under Edit>"Arrange entities by layer order".  Use your layer technique and hit that command often and you should be fine.


Rob S

There is also a menu command for this by which you can set display order for selected objects within layers or regardless of layers under

Edit, selection edit, display order, move to top (bottom, in front of), etc
User since forever

Lar

Layer order generally has no effect on what is in front of or behind other entities. As mentioned by Prl, there are a few commands that use the layer order to rearrange things and also you can print by layer order but these only happen at the moment of the command.

In the 2D CAD world thing don't usually 'cover' other things because things are usually outlined and by the time you print, and especially if in all black, you can't tell what is at top or below anyway. The only usual 'covering' is when bathroom fixtures cover the floor tiles and since tiles were traditionally drawn around the fixtures and not intended to fill the entire floor (for less visual congestion) the CAD developers didn't consider this concept of front or back. Only later when things like bitmaps and solid hatches were implemented did 'front' or 'back' become important (display order command, as mentioned in previous posts).

In the 3D world, shaded or hidden line display order is controlled by what is visually in front of other stuff, and this depends on the viewing angle. So, if layers controlled what was perceived as what was in front or behind then as you move around the model the display would get really freaky. To experience this: in 3d wireframe mode create a 3d box. Use the hatch command to create solid hatches of different colors on each of the box's surfaces. Now press Y to rotate the view (aka 'orbit'). Since you are in wireframe mode 'front' and 'back' would be determined by the order in which entities were created (older stuff display behind younger stuff) and this plays some serious trick on your brain when orbiting. Now switch to a shaded mode (with 'graphics acceleration') and orbit... the display would treat front as what's closest to you at the time.

Lar

samdavo

Lar,
great explanation of how hatches can play tricks.

Ric,
Not sure if these are helpful or not, (most here will be aware of them) :-
1. but one trick / alternative way to bring something to "most recent entity" status is to delete it, and then press Ctrl+Z = redo. ( 2cents) .
2. Another trick if you are having trouble selecting one entity amongst others when they are all on top of one another is to right click (which selects one), and if this is the wrong one, just keep hitting Enter and it cycles through all the nearby entities.

samdavo

#5
Quote from: Lar on June 07, 2014, 10:08:54 AM
To experience this: in 3d wireframe mode create a 3d box. Use the hatch command to create solid hatches of different colors on each of the box's surfaces ... (older stuff display behind younger stuff) and this plays some serious trick on your brain when orbiting. Now switch to a shaded mode (with 'graphics acceleration') and orbit ... the display would treat front as what's closest to you at the time.
Lar
Actually you don't even (necessarily) need to orbit - i.e. you can get "illogical overlapping hatches" which
a) look weird in wireframe ( first jpeg), but
b) look sensible in shaded (second jpeg).

(Rather than a box, the dcd shows four coloured WIN_SOLID hatches, not even planes) 

PS If you look at the first jpeg, on the left you can see plan (top) and front views.  These are arranged as third angle projection.
The plan (top) shows the yellow hatch ( although it is under the topmost hatch which is red);
Likewise the front elevation shows the blue hatch ( although the foremost hatch is green).

When you use shading (second jpeg), all three views (top, front, and isometric) change colour/overlap to some extent.

PS The sequence/ (and ascending seniority) of those hatch entities is green-blue-red-yellow - which you can work out of you are real keen (2 cents)

Dean

Quote from: prl on June 07, 2014, 08:14:50 AM
Entity order is the primary way DesignCAD shows things.  Meaning the oldest items get drawn first with newer items on top of those.  As DC is cycling the entities database to draw them, it merely looks at the layer setting to see whether they should be displayed (on/off).

But you can control the entity regeneration sequence using layers as you describe but it only sorts the entities database when you use the command at that instance.  Once you start drawing more things, you are back to creation order.   (What I'm trying to say is that menu item is a command, not a setting.)

Anyway, the command you are looking for is under Edit>"Arrange entities by layer order".  Use your layer technique and hit that command often and you should be fine.

Concerning 2d entities in model or paperspace my experiences are that in version 18 the drawing and plotting layer order system works as expected. In version 23 "plot by layer order" doesn't work and "arrange entities by layer order" works but it's backwards, meaning lower numbers are in front of the higher number layers.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

prl

Quote from: Dean on June 07, 2014, 08:45:18 PM
but it's backwards, meaning lower numbers are in front of the higher number layers.

Under the menu Options>Options>View tab there is also a toggle setting for displaying from newest to oldest (display drawing backwards).   

Dean

Quote from: prl on June 08, 2014, 01:51:19 AM
Quote from: Dean on June 07, 2014, 08:45:18 PM
but it's backwards, meaning lower numbers are in front of the higher number layers.

Under the menu Options>Options>View tab there is also a toggle setting for displaying from newest to oldest (display drawing backwards).

Thanks Prl, that solved the mystery as well with the plotting. Maybe the setting should say "display layer order backwards". I've always used V18. I must have enabled it in V23 at some point.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

prl

Thanks Dean,

What is circled makes no sense.  That is NOT what the Symbol Host Layer does.  Thanks for pointing this out.


rictheobscene

Hi Everyone:

Thank you for replying. So, it is obvious that my understanding of layers was skewed, but I am set straight now thanks to your fine advice and tutelage.

Now that I better understand the layer implementation, I will simply adapt my work methods accordingly. DesignCAD / IMSI does a helluvalot more right than they do wrong, so I am still digging this program.

I apologize for the delay in chiming in, I've been out on a remote valve site for a pipeline with limited access to the Internet.

Again, thank you for your assistance. I know trying to explain CAD principles to an electrician / musician must be as frustrating as herding cats.
With Kind Regards:

Ric Kinney (aka Ric(†he)Obscene)