Jump to content

Recommended Posts

Posted

My drawings seem to default to 1/64, that may be a standard I am not sure. I want all my drawings to default to 1/32. Is there a way to change this so that all my drawings default to 1/32, aside from changing it within each drawing every time?

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

  • AQucsaiJr

    11

  • Tiger

    5

  • rkent

    4

  • dbroada

    1

Top Posters In This Topic

Posted

Do you use your own template? You should be able to change the Snap setting in the template.

Posted

Unfortunatly, the client we work with gives us the files to work on and I am not sure they have a template they work from. I agree with you, a template file would alleviate this problem, however the client, this project is for, does not work off a good template file and all the drawings seem to default to 1/64... I am interested in finding out if there is a way to make my snap mode default to 1/32... I don't see this being possible, but any tips that would make this problems solution faster would be greatly appreciated.

Posted

This is also a stubborn client that does not stray from their standards at all... even though the standards are not as good as they think!

Posted

Well, we've all had nuts clients :wink:

 

I'm trying to think if there's a variable that sets this, but I rarely work with Snap on so don't think I can help you here. The solution I'm thinking of is setting a Snap-value in your ACADDOC.lsp file, which loads every time you load a file, that way the Snap-setting is re-set every time... but since the Snap-spacing can really be set to anything I doubt that this is doable this way unfortunatly :(

Posted

Oh well... I'll just have to find some way to make them change there standard.... Maybe if I tell them their current settings generate an ID10T error??

Oh well... thanks for the help... I'll keep working on it.

Posted

Do you use ACADdoc.lsp ? Simply put the SNAPUNIT value in there and it will be set for each drawing you open.

Posted

Oh really... I have never heard of this .lsp .... Where can I find it?

Posted

Since you haven't heard of it you probably aren't using one. But to check type (findfile "acaddoc.lsp") at the command line and hit enter. If you don't find one then you can create one and place it anywhere in the autocad path statement, which is found under Options, Files, Support File Search Path.

Posted

Cool... I'll try that... Thanks!

Posted

There you go, there actually was a variable that controlled Snap - who'd thunk it :D

 

Now if someone can explain what the possible settings are, we're all set :wink:

 

edit. ah, SNAPUNIT is actually a value... good to know :wink:

Posted

I was going to ask that... I can't seem to figure out what to change on this file to make this happen?

Posted

You add a line to it, a line along the lines of (setvar "SNAPUNIT" nr,nr)

Posted

The help file metions using this ACADdoc.lsp to load other .lsp files... I have them all aready loaded using the CUI > LISP Files.... So could I create this ACADdoc.lsp files and just have the one line for snap unit's?

Posted

(command "snapunit" "1/64,1/64") will work

Posted

So I would create this acaddoc.lsp file, save it in the support path location, and just place in the one line (command "snapunit" "1/32,1/32")?

Posted

I keep getting this every time I open a drawing:

snapunit

Enter new value for SNAPUNIT : 1/32,1/32

Cannot set SNAPUNIT to that value.

Posted
So I would create this acaddoc.lsp file, save it in the support path location, and just place in the one line (command "snapunit" "1/32,1/32")?

 

Yes, that is it and as you find other settings you want to know for sure are set in any drawing you open you can keep adding them in. Here is a portion of mine, I add and subtract depending on the project, etc.

 

The semicolons ; remark out that line so autocad doesn't process it and you can document what you are doing.

 

;ENVIRONMENT 
;---------------------
(command "base" "0,0,0")
(setvar "osmode" 16421)
(command 
"APERTURE" "5" "auprec" "4" "BLIPMODE" "OFF" "CMDDIA" "1" "COORDS" "2" 
       "dblclkedit" "ON" "DEMANDLOAD" "3" "FULLPLOTPATH" "0"
"FILEDIA" "1" "INDEXCTL" "3" "INPUTHISTORYMODE" "6" "ISAVEBAK" "0" "ISAVEPERCENT" "0"
"LAYERFILTERALERT" "3" "LWDEFAULT" "25" "lunits" "4" "luprec" "5"
       "LTSCALE" "0.5" "layereval" "0"
       "MSLTSCALE" "1"
 "OSNAPCOORD" "1" "OSNAPNODELEGACY" "0"
"PICKBOX" "5" "pickfirst" "1" "PICKSTYLE" "1" "psltscale" "1"
"REGENAUTO" "1" 
       "SAVETIME" "15" "SNAP" "1/64" "SNAP" "OFF" "SORTENTS" "23" "SpaceSwitch" "1"
"SSMAUTOOPEN" "1" "SSLOCATE" "1" "SSMPOLLTIME" "30" "SSMSHEETSTATUS" "2"
"VIEWRES" "y" "500" "VISRETAIN" "1" 
       "WHIPTHREAD" "3"  "WMFBKGND" "0"
;2010-------
"XDWGFADECTL" "35"
)
(setenv "CmdHistLines" "1000")
;;;;;;;;;;;;;;;;;;;;;
;DYNAMIC DISPLAY  

(command
"DYNDIGRIP" "10" "DYNDIVIS" "2" "DYNPICOORDS" "1" "DYNPIFORMAT" "1"
"DYNPIVIS" "2" "DYNPROMPT" "1" "DYNTOOLTIPS" "0"
"VTENABLE" "0" "VTFPS" "12"
)
;--------------------

Posted

Ah... Got it... This works:

(command "snap" "1/32")

Thanks for the help guys.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...