Project-Wide Snap Spacing Setting

Project-Wide Snap Spacing Setting

Anonymous
Not applicable
2,358 Views
5 Replies
Message 1 of 6

Project-Wide Snap Spacing Setting

Anonymous
Not applicable

I copied a Project and just now happened to notice that the Snap Spacing setting s 0.1250 instead of 0.0625.

 

First question:  Is this a drawing-specific setting? 

 

Second question:  Without having to create a script, is there not a way to change this setting project-wide? 

 

(AutoCad Electrical 2017 SP1)

 

SnapSpacing.JPG

0 Likes
Accepted solutions (1)
2,359 Views
5 Replies
Replies (5)
Message 2 of 6

jseefdrumr
Mentor
Mentor
AFAIK these settings are kept in the drawing...I don't thing there's a way to apply the grid snap settings across a project without using a script.

You may be able to avoid this in the future by saving the desired grid snap setting in your template file. You could also add a line to your ACADDOC.lsp that sets a certain snap distance each time you open a drawing.

Hope this helps,
Jim


Jim Seefeldt
Electrical Engineering Technician


Message 3 of 6

Anonymous
Not applicable

@jseefdrumrwrote:
AFAIK these settings are kept in the drawing...I don't thing there's a way to apply the grid snap settings across a project without using a script.

Experimenting with scripts... I added a few things (copying from an existing script).  Cant seem to get this one to run project-wide. It runs on the first drawing of the project then stops.  Works on individual drawings just fine (Tools-Run Script).  What instructions can I add to load the next drawing, or is that already handled by Project-Wide Utilities?

partiaload
ZOOM EXTENTS
-LAYOUT
SET
LAYOUT1
.PSPACE
ZOOM EXTENTS
-LAYOUT
SET
MODEL
ZOOM EXTENTS
snap 0.0625
snap type grid
snap on
PDMODE
0

n
qsave
0 Likes
Message 4 of 6

Anonymous
Not applicable
Accepted solution

I think I have it figured out.  The blank line before "n qsave" along with the "n" was throwing it off.  I added PDMODE and set Polar Tracking on.  This works much better:

 

partiaload
ZOOM EXTENTS
-LAYOUT
SET
LAYOUT1
.PSPACE
ZOOM EXTENTS
-LAYOUT
SET
MODEL
ZOOM EXTENTS
PDMODE 0
snap 0.0625
snap type grid
snap on
AUTOSNAP 63
QSAVE
Message 5 of 6

TRLitsey
Advisor
Advisor

Hi there,

 

Just a thought on this Grid and Snap preferences for schematics.  For a 11x17 print I like to use 0.75 Grid, 0.75 ladder reference, 0.125 snap ( H and V).  Keep in mind that ACE looks at the rung reference position and assigns the number to the wire/xref/device tag etc. with respect to the rung ref on the left, at least with how I have setup my environment.  If the referenced device is not dead on a straight line across from the rung reference it will look a little above or a little below the rung reference for the number to assign.  If the snap spacing is to small and your components are getting in between the rung references your xref numbering can start looking a little goofy.  Keep a little space between you wires and devices, makes the schematic easy to read and understand.

 

Good luck

 

 

Screenshot - 3_27_2018 , 8_27_39 AM.png

Please mark as a solution if this works for you, kudos are always welcome
Message 6 of 6

pavlovgn
Explorer
Explorer

Thanks for the script!  

0 Likes