grid snap

grid snap

Kany777
Contributor Contributor
11,055 Views
14 Replies
Message 1 of 15

grid snap

Kany777
Contributor
Contributor

Hello, 

 

In my drafting settings, I have turned " Grid Snap" and the " Object Snap". But my drawing doesn't hit the grid it is off the grid. Could you please help me in this regard? Please see the drawing attached.

 

Thanks, 

KS

0 Likes
Accepted solutions (3)
11,056 Views
14 Replies
Replies (14)
Message 2 of 15

Vinayv4v
Advisor
Advisor

Hi,

 

Right Click on your grid or snap and go to settings. Then set the snap value as per your requirement.

 

After that turn on the GRID (F7) and the SNAP (F9)

 

You should be able to see the snap only when you are invoked in a command (eg: line, circle,rectangle).

 

Also your drawing is far away from the orgin 0,0. So just move your whole drawing to 0,0 which will solve your issue.

Since the snap value is very small you need to zoom in enough to see the changes.

Grid.JPG

Cheers,

Vinay Vijayakumaran

0 Likes
Message 3 of 15

Kent1Cooper
Consultant
Consultant

@Kany777 wrote:

... my drawing doesn't hit the grid it is off the grid. Could you please help me in this regard? ...


If it is off the grid when you are not  in a command, but does  fall on the grid locations when you're in a drawing or editing command, that's a change in some recent version from the way it always used to work.  Turn on the SNAPGRIDLEGACY System Variable [i.e. set it to 1].

Kent Cooper, AIA
Message 4 of 15

Kany777
Contributor
Contributor

Thanks, But how do I take my drawing closer to the origin? 

I zoomed in but still somehow it doesn't seem to be at the grid. 

 

 

0 Likes
Message 5 of 15

Kany777
Contributor
Contributor

Snap grid legacy helps but somehow my drawing is still off the grid. 

I copy and paste it again. Although the cursor is at the grid but the drawing is not at the grid. 

0 Likes
Message 6 of 15

Vinayv4v
Advisor
Advisor
Hi,

You need to move your whole drawing near to the origin (0,0). I have attached the modified drawing in my above post which has been moved to the origin. Check in that if the drawing is coming under the grid.

Cheers,

Vinay Vijayakumaran

0 Likes
Message 7 of 15

Kany777
Contributor
Contributor

Hi,

 

I don't see the drawing attached. Could you please attach it again? All I see is the picture where you have highlighted the Grid SNAP. 

 

Thanks, KS

0 Likes
Message 8 of 15

Kent1Cooper
Consultant
Consultant

@Kany777 wrote:

Snap grid legacy helps but somehow my drawing is still off the grid. 

I copy and paste it again. Although the cursor is at the grid but the drawing is not at the grid. 


I thought you were talking about landing on the grid locations in the process of drawing.  But from your image, it looks like something already drawn  that's not on the grid.  If it was drawn with Snap turned off, it's allowable for it to be anywhere.  If you set a Snap value after something is drawn, nothing forces the drawn object to change so that it falls on Snap locations -- you would have to fix it, which can be done with various commands [Move, Stretch, Change, grip-editing, etc.].  I don't think distance from the origin is a relevant consideration, nor that Moving everything closer to the origin is going to make things fall on the grid that are not currently on it.

 

But there are routines out there that will force most already-drawn things in a drawing to the nearest Snap-grid locations, if that's what you want. This post is within a thread on the same topic, and has a link to another, and there are more -- do a Search for terms like "force to grid".

Kent Cooper, AIA
Message 9 of 15

Kany777
Contributor
Contributor

Thanks for your help !

0 Likes
Message 10 of 15

Anonymous
Not applicable

See if this is what you're looking for.

I dragged the original drawing near the origin point obeying the snap lines.

0 Likes
Message 11 of 15

Kany777
Contributor
Contributor

No, the line is till in between the grid points. Thanks anyways. 

0 Likes
Message 12 of 15

Vinayv4v
Advisor
Advisor
Accepted solution

Hi,

 

 

But from your screenshot its clear that you have completed the figure without using snaps. 

So as @Kent1Cooper mentioned you need to use some of the modify commands to make them align with your grid points which will take time. 

 

So I found this LISP which will make all entities snap to grid points and made your drawing aligned with the grid Points.

But this Lisp only works on Line entites, so I had to explode your whole drawing for modifying this. 

Please find the attached Lisp & Drawing.

 

 

 

Command : SNAP2GRID

written by Adam Wuellner

 

 

Cheers,

Vinay Vijayakumaran

Message 13 of 15

Kany777
Contributor
Contributor

Hi,

 

I don't know how to run lisp command with my drawing. 

Could you please help me with that. 

If there is any link which tells how to use the LISP command, then please let me know.

 

KS

0 Likes
Message 14 of 15

Kent1Cooper
Consultant
Consultant
Accepted solution

@Kany777 wrote:

....I don't know how to run lisp command with my drawing. 

Could you please help me with that. 

 

....

Save the .lsp file to any known location.  In a drawing, start the APPLOAD command, navigate to where you saved it, and Load it.  Then enter the command name, the part immediately after the (defun C: near the top of the file, which in this case is Snap2Grid [not case-sensitive].

 

As already mentioned, that one forces only Line entities onto grid locations.  I think some of the other routines out there will also fix other things onto grid locations, such as Block and Text insertion points, Circle centers, maybe Dimension definition points, etc.

Kent Cooper, AIA
Message 15 of 15

Kany777
Contributor
Contributor
Accepted solution

Thanks !!

0 Likes