Hi everyone!
For some reason I can't work out how to change the colour of the grid lines so would really appreciate some help. I'm running AutoCAD 2018 on MacOS, and I've looked all over the internet but can't find a solution! Everything I have found has been for Windows, so the variation in menus between the two has made it hard or impossible to follow, especially for a beginner! Snap and Grid tab under Drafting settings doesn't have a colour option, and neither do any of the tabs in Preferences. Am going insane trying to do this! Was making a grid with A4 sized squares so I can join 2 printed layouts together; I'm an architecture student and the lockdown has meant I can't access any large printers unfortunately. All I want is an A3 site plan to be able to trace, and thought this would be an easy process I could repeat if needed whilst we are stuck at home! I'd appreciate any help!
Many Thanks,
Nick
Previously posted to the main AutoCAD forum and wasn't aware of this Mac one!!
Solved! Go to Solution.
Solved by maxim_k. Go to Solution.
Thanks for replying, this is much appreciated. I have the full version, just on a free student license so all should work.
I wanted something just a bit brighter really. A light blue if possible?
>>>>>A light blue if possible?
OK.
Try this:
(setenv "2D Model grid axis lines color" "13942131")
(setenv "2D Model grid major lines color" "14733209")
(setenv "2D Model grid minor lines color" "15129005")
Copy-paste strings to command line and hit Return. Create new drawing and look at grid color.
This is what you need?
To restore default colours you need to use these statements:
(setenv "2D Model grid axis lines color" "6114631")
(setenv "2D Model grid major lines color" "6901577")
(setenv "2D Model grid minor lines color" "4732722")
Sorry for the late reply, I just tried it! Worked perfectly thank you!!! I'll keep those command lines for future reference. Glad its not too tricky.
Many Thanks,
Nick
I have tried this and it worked. However, I would like it to make it seen when exporting it into a pdf or printing. How will that be possible please?
Hi @raissa.spiteri2VN2F .
The grid you see inside drawing canvas is for display purposes only, it is a visual aid and never prints.
If you want to print grid lines, you need to create your own grid in the drawing.
Thank you for your reply.
I tried to recreate the grid but seems to be shifting constantly and when compared to the actual measurements it is not precise.
Yes, AutoCAD grid changes when you zoom in/out, if you mean this.
And if you need this behaviour in PDF or on a hard copy, you need to create different grids for different zoom levels.
wish I could bookmark this against my account. going to need in the future again. the standard grid colour is almost invisible in some lights. why not add to Settings, they have colour settings for 10 the things! Grid colours is pretty fundamental to most modern design workflows.
@maxim_k Autocad for Mac 202 wont let me paste these lines into the command line for some reason. I can past them to a text app so macOS is copying them fine. Either as single lines or as three lines.
when I click on the button to the right side of the command line panel at bottom of the screen, the command line palette moves over to the bottom left hand side of the screen and when I paste it asks me for a Paste insertion point and just pastes the text as MText. How crazy! Pretty sure I've run AutoLisp scripts in the command line a week ago and were working fine.
Try to use right-click context menu in the Command window:
Now when the line of AutoLISP code is in the Command line, just hit Return
>>>>>when I click on the button to the right side of the command line panel at bottom of the screen, the command line palette moves over to the bottom left hand side of the screen
This button is for undocking Command window.
so I put these commands in a LISP script and it doesn't chang the grid lines. If I make. new drawing the gird lines are the same and the command is not known. the current gridlines do not change either, after REGEN and REDRAW.
a shame, this would be useful, and amazed it's not part of the core product in either OS, this is UI 101.
Do you have full AutoCAD or AutoCAD LT?
Can you show screenshot of what you see, when you paste all 3 lines of code (or one by one) to the command window and hit Return after tat?
Can't find what you're looking for? Ask the community or share your knowledge.