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.

Block attributes

Started by Petr, June 12, 2021, 02:31:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Petr

Hi everyone, please help.
I created a circuit breaker drawing with block attributes (Breaker.dcd).
In layer 1 I have a block, in layer 3 the value [Amps], in layer 4 a label, in layer 5 the numbers clamps. Layers 3 and 4 are like a block attribute, when inserting a block into the drawing it asks you to insert values (block inserted as a block via a symbol library).
But when I turn off layers 4 and 5 (Drawing.dcd), a label from layer 4 appears instead of value in layer 3. Where am I making a mistake? Sometimes I only need to have visible the value [Amps] from layer 3.
DesignCAD 3D Max 2016, DesignCAD 2D 2020.
Thank you for your help, Petr

Rob S

The layers in "Drawing" seem to turn on and off as they should for me, using V2020 Max. 

Are you by chance using V2016 in REDSDK mode?   I often had problems with that where it did not refresh automatically when it should have.

Does it act the same in your V2020 2D version?

With the "Layer" dialog open, you can turn layers on and off, and the change takes effect only when you click on "OK or Apply", you do not need to close the dialog.

There is one other possibility that comes to mind, for this to work you must turn off the feature "symbol layer visibility controlled by host layer" in the view options - see below
User since forever

Petr

Hi Rob S,
Thank you very much for your response. I did not use the RedDSK mod. "Symbol layer visibility controlled by host layer" is turned off. Yes, the Layers are switched on and off correctly.
The problem is that when I turn off layer 4 Label and 5 Clamp, layer 3 Value should remain visible, ie the inscription "B10" visible on the drawing. But instead of "B10" I see "-FA3", which is in layer 4, which is off. I'm attaching a DCD file. Thanks in advance for more ideas, Petr

Rob S

This puzzle may be beyond me, at least for now!!!

Instruction to self - read more carefully in the future.

However, in my defense, it was easy to miss.   When I turn off each layer separately, the item located in the spot assigned to that layer disappears.   This I thought was very good!!!

However, when I turn off layer 4, the text in layer displayed in the item on layer 4 is mysteriously transferred to the attribute and location on layer 3.   This is very strange.

So, I opened the "Breaker" source drawing, and the same thing takes place there, even though the block containing the attributes has not been created yet.   

For testing purposes, could you try to re-create your original breaker drawing, making sure that you set the current layer for each attribute where it should be before creating it?
User since forever

Rob S

Now testing some more (after windows update tied up my computer for half an hour) I can no longer reproduce the effect in the original breaker drawing.  Still happening in both of the drawings with the breaker block inserted.

It seems to me there is definitely some kind of programming quirk (aka bug) happening here, but very hard to pin down unless we can reproduce it in a new blank drawing, which for now I have not been able to do.

So again, I would suggest starting over with a new test drawing to see if you can get it to work correctly, or to fail again with a new  block and a new drawing.
User since forever

Petr

Hi Rob S,
Thank you very much for your time and help. I created a new clean block, which I inserted into an empty clean drawing. The problem is still the same. So this seems to be a bug in DesignCAD. I exported the drawing to DWG, opened it in AutoCAD and everything works properly there. Perhaps DesignCAD developers will fix this bug! I'm looking forward to the new version 2021! Regards, Petr