Why not use a Template to preset all your settings? Do you use Templates at all?
Registered forum members do not see this ad.
Hi all,
With rkents help in the AutoCAD Beginners thread, (original thread here for reference http://www.cadtutor.net/forum/showth...217#post385217) I was able to get the grid lines to come on automatically with every drawing.
rkent suggested I come here for help with the remainder of the issue, gridlines come on in each drawing only in paperspace not model space, if possible, I would prefer the reverse to happen, gridlines on in model space not paperspace.
Any assistance would be appreciated.
Thanks
Bob T
Why not use a Template to preset all your settings? Do you use Templates at all?
Tannar Frampton | Facilities Engineering | Revit 2013
Personal Projects | Fender Squier Stratocaster | Custom Smoker | Concrete Patio
I do use templates when I start a new drawing and I have the gridlines on and saved in the template I use, I also have the system variable GRIDMODE set to 1, but as I said in the other thread, I want gridlines to come on for every drawing, regardless of if it is a new drawing or a drawing provided from outside of our organization.
With rkents help, I have added this line (command "gridunit" "0.125,0.125" "gridmode" "1" "griddisplay" "3" "gridstyle" "0") to my ACADDOC.LSP, but would prefer the gridlines on in model space and off in paperspace, the opposite is happening now.
Thanks
Bob T
A little more detail to add after experimenting some, it appears that the line of commands rkent provided does turn on the grid whenever any drawing is opened but only in the space it opens in, ie model space or paper space, in other words, if the drawing opens up in model space, the grid will only be on in model space, if the drawing opens up in paper space, then the grid will only be on in paper space, I may open drawings in either space and as I said previously, my preference is to have the grid on in model space and off in paper space regardless of which space shows up first. Otherwise, krents command line is working just fine.
Thanks
Bob T
Registered forum members do not see this ad.
Update, with the help of an experienced cad trainer, we figured out a solution, here is the code:
;Activate model tab
(command "_.TILEMODE" 1)
;Set model tab grid values
(command "GRIDUNIT" "0.125,0.125" "GRIDMODE" "1" "GRIDDISPLAY" "3" "GRIDSTYLE" "0")
;Switch to last activate layout tab
(command "_.TILEMODE" 0)
;Activate paper space mode and set grid values
(command "_.PSPACE" "GRIDUNIT" "0.125,0.125" "GRIDMODE" "0" "GRIDDISPLAY" "3" "GRIDSTYLE" "0")
;Activate model tab
(command "_.TILEMODE" 1)
So I am set, thanks to all who contributed.
Bob T
Last edited by btompkins; 16th Feb 2011 at 11:53 pm.
Bookmarks