Forums >> Revit Building >> Technical Support >> autocad layers change color when imported into revit
|
|
active
Joined: Fri, Jun 3, 2011
0 Posts No Rating |
I'm having an issue using 2014 suite of products.
I have our company logo in AutoCAD which has some colored solid hatch. When I import CAD and insert the dwg file into my title block family it is clear that the colors have changed. If I explode the dwg I can then see the layer colors in the object styles dialog and the layer colors have in fact changed. I have selected for the colors to be preserved in the Import Cad dialog box.
Does anyone know why the layer colors are changing?
Thanks,
Jason
|
This user is offline |
|
 |
|
site moderator|||

Joined: Fri, Nov 12, 2010
1749 Posts
 |
You really should not import CAD files, Revit doesn't always play nice with blocks and hatches. Did you try Linking the file in instead? Do you have all of the updates installed for 2014?
|
This user is offline |
View Website
|
 |
active
Joined: Wed, Oct 7, 2009
654 Posts
 |
Check your Object Styles in the project. If you imported your .dwg with the wrong colors (or used invert instead of preserve), then deleted the .dwg and tried again, Revit will remember the original layer settings and will override them when you try to bring the .dwg in again.
|
This user is offline |
|
 |
active
Joined: Fri, Jun 3, 2011
0 Posts No Rating |
Thanks for the responses.
I didn't think you could link a cad file into a title block family. Link Cad is greyed out.
Revit is up to date with patches.
I inserted the cad file using Preserve colors.
I only have a few dozen lines in my cad file. 2 layers.
Layer 1 is color 255-159-0 (RGB). Layer 2 is color 97-98-96.
Once inserted into Revit the colors are: Layer 1 255-127-0, and layer 2 is 101-101-101.
How is this possible?
|
This user is offline |
|
 |
site moderator|||

Joined: Fri, Nov 12, 2010
1749 Posts
 |
I'm sorry I missed that part of your post somehow that you were doing this in a family, you are correct there is no link CAD option in families. The best way to deal with AutoCAD that you are converting into Revit is to basically redraw them. You should do a save as in autocad and change all of the linetypes to 0, remove all of the hatches and make sure all of the blocks are exploded to get rid of any hidden unwanted linetypes that might come into revit, then import into a dummy Revit family and change all of the lines to your Revit standards before copying and pasting into your titleblock family to add all of your annotation.
|
This user is offline |
View Website
|
 |
active
Joined: Fri, Jun 3, 2011
0 Posts No Rating |
I have tried this but run into the problem where Revit can't draw to the same small increments as AutoCAD. The famous
'lines too small on screen' and then Revit deletes these elements. So it's not possible for me to draw our logo in Revit, in a
titleblock family. Many firms use png's or jpeg's but no matter the resolution, these look fuzzy in pdf's.
Importing the logo as a cad drawing works fine. The logo is nice and crisp, I can scale it up and down but why would it change
the colors on me? I can't change the colors in the Revit file, because to do this I would need to explode the inserted Cad
dwg and that causes other issues.
I have the color close to what I want but it's not the same and would prefer the logo to look the same whatever program it
printed from (which is a chalenge).
|
This user is offline |
|
 |
site moderator|||

Joined: Fri, Nov 12, 2010
1749 Posts
 |
Would you be able to upload the CAD file to here so I can try to import it and see if I am getting the same problem?
|
This user is offline |
View Website
|
 |
active
Joined: Fri, Jun 3, 2011
0 Posts No Rating |
That would be great, thank you.
Note that I would scale this logo up or down once in Revit depending on the size of the title block. For an 11x17 title block
the attached logo would be scaled down by about 1/2. 24x36 title block was no problem because, like you noted, I could
draw the linework in Revit. Smaller linework creates the 'too small on screen' issue.
I have also tried setting the layer color by HSL and pantone but the result in Revit is unexpected.
For example if I change the orange color from 255-159-0 to 255-160-0, it completely changes from a yellow/orange to a
deep brown in AutoCAD. Yet changing that middle (green) number from say 150 to 159 has no effect. Then all of a sudden
one number difference and the color completely changes.
I'm interested to see what happens with your test. I've made sure I have Revit up to date and my graphics driver also.
I haven't seen any similar postings though so maybe it's me...or maybe most firms use images or fonts for logos that
they can't draw in Revit.
|
This user is offline |
|
 |
site moderator|||

Joined: Fri, Nov 12, 2010
1749 Posts
 |
I'm not sure why it is not keeping the exact same colors from AutoCAD to Revit but they look VERY similar so I don't see the problem just using that. Also when I explode it and go under visability graphics>object styles> I can change the color to be the same as the CAD colors. If I were you I would change the scale to what you need in AutoCAD then bring it into Revit and use filled regions to create your logo. I have attached a sample. Your other option would be to try and create a higher quality jpeg.
|
This user is offline |
View Website
|
 |
site moderator|||
Joined: Tue, May 16, 2006
13079 Posts
 |
I think that because we can zoom in very close, we become myopic in our concern about very tiny lines. Yes, you can draw them in CAD but can you draw them by hand. My rule of thumb is if I can't draw them by hand then they are not important. Remember, in most cases today, our printing is all pixal/dot based.
|
This user is offline |
|
 |
|
active
Joined: Wed, Dec 2, 2009
0 Posts No Rating |
What Revit does it to approximate the colors to the nearest 255 index color, but whit RGB values.
You must always use the By Layer color and then, in Revit Object Styles chage the color to the correct RGB.
|
This user is offline |
|
 |
active
Joined: Fri, Mar 22, 2013
0 Posts No Rating |
Hi Guys,
I appreciate this is a 3 year old thread, however we have just had a similar issue.
Our blue logo imported green instead - not great.
We found the issue was due to the layer name of the imported CAD file.
Our layer was initially called "_LOGO".
It appears there was already a CAD import in the Revit project which had the layer name "_LOGO" already, which had it's own colour - green.
When we loaded in our cad logo, it changed to the blue to green.
To fix, simply rename your CAD layer to a unique name, eg "Architects_LOGO_2017" and re-import.
You may need to do this for all layers inserted.
Regards,
Pete
|
This user is offline |
|
 |
active
Joined: Fri, Oct 2, 2020
0 Posts No Rating |
Three years later, I find myself again with the same problem and I can't find the right solution.
I need to import my company logo in a title block and the color is similar (almost black) but not the correct blue. When this is an imported object in a title block family, I cannot modify its color.
Does anyone have any idea how I could solve it?
I attached an acad 2018 demo file to test. Correct colour is RGB 0,58,98 and the imported colour is RGB 0,28,38.
Thanks
|
This user is offline |
|
 |
active
Joined: Wed, Oct 3, 2018
0 Posts
 |
Why not just recreate the logo in Revit? If you know the color, you can create a new filled region with the color.
|
This user is offline |
|
 |
active
Joined: Fri, Oct 2, 2020
0 Posts No Rating |
Because the company logo is not just a circle...
|
This user is offline |
|
 |
 |