News:

When replying to a specific statement be sure to quote the previous post.

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.

Block colour

Started by dunkers, September 20, 2010, 11:06:13 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

dunkers

I have a drawing into which I insert other drawings as external reference blocks - this is an assembly of the separate parts. I want to have each part have its own colour, so in the layers dialog I set up a layer for each part and set the colour. As I place the part I move it to the appropriate layer and select the colour as 'by layer'. The parts remain resolutely black.

I try manually setting the colour of a part via the toolbar dropdown. They remain black.

I then change the colour in the parts drawing and update the block, thinking that the colour is taken from the external ref file. The parts still remain black.

How does one set the colour for a part? To avoid any doubt, this is the colour of the wire fram (material colour is rendered OK as the original parts material), and 'colour' means 'color' for non-brits ;)

wd

you cannot edit an xref you must change the original file.

Note: If you edit the original file from which the xref was created, the block in the current library will not change. You will need to recreate the xref.


Now to work around this if you made a block instead of xref the color can be change from the block palette.


W.D.
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

dunkers

This is TC17.2 so changing the original doesn't need the xref recreating - there is a refresh option that works. And, as you suggest, on trying this all again I changed the colour of the original and that did change the assembly. So I'm partway fixed!

But... what I really wanted to do is change the colour in the assembly drawing. The reason is that I want my original drawings to be a standard format, and some of these could be used in more than one assembly. On the assmebly drawing I want to easily see the different components, and that means some of the colours would be otherwise hard to see (maybe light green or yellow). I really wouldn't want to have to keep changing the original to a silly colour and back, and trying to co-ordinate different the colour across different assemblies strikes me as akin to herding cats.

Hope you can see what I'm trying to do. To be honest, I'm surprised the colour is taken from the original.

I realise that your suggestion of breaking the xref link would work, but then I can't fix a component and have it filter through to the assembly without deleting and re-adding blocks.

Brad Easterday

By giving the objects in your separate parts drawings a "By Block" color attribute they will inherit their layer's color when x-referenced into your assembly drawing. I think this may be what you're looking for.
Brad E.
TC 2022, 2023 Platinum
Windows 11 (64-Bit)

dunkers

Brad, the "By Block" looks interesting and sounds logical, but it has no effect that I could determine. Underneath that option in the pen properties is "By Drawing" which also has "yes" and "no" selections. I tried each but, again, I couldn't detect any effect.

dunkers

Ah-ha! Found the problem...

All of the xrefs were on layer 0. Duh! Not sure how this happened since I know I moved each xref to the appropriate layer as I placed it. Nevertheless, it was only by following Don's note about xref layers in another post that prompted me to check the design director (I originally did it via the xref properties).

So, this works as expected. Sorry to trouble you all.

dunkers

Grrrr!

Now I have the colours sorted, if I render with hidden lines TC instantly crashes :(

This is actually my second attempt at this assembly: the first one crashed after assembling two parts when switching to hidden line removal. I reported this via a support ticket and started again with a clean sheet, checking as I went that it was OK.