Jump to content

Recommended Posts

Posted

How can I set my dimension style to be the same style every time I start Autocad 2002. I have written some code for standard title blocks that I use but I can't get the dimension style to stay. Below is the code that is supposed to start with the title block.

 

;FOR DIFFERENT SCALE MODIFY DRAWING SETTINS 0NLY,

 

(defun c:FULL (/ cdate currdwg g count dwg today inspt sc rotang

dwgsc dn quant desc1 desc2 tag po mat fin sls)

;drawing settings

(command "dimstyle" "restore" "standard")

(setvar "DIMSCALE" 1.000)

(setvar "DIMCEN" -0.06)

(setvar "LTSCALE" 0.250)

(setvar "TEXTSIZE" 0.100)

 

;DO NOT CHANGE PARAMETERS BELOW THIS LINE

Posted

Your best bet is to create a template with everything you need already set up and save it. This includes layers, fonts, dimension styles, etc.

Posted

 

;FOR DIFFERENT SCALE MODIFY DRAWING SETTINS 0NLY,

 

(defun c:FULL (/ cdate currdwg g count dwg today inspt sc rotang

dwgsc dn quant desc1 desc2 tag po mat fin sls)

;drawing settings

(command "dimstyle" "restore" "standard")

(setvar "DIMSCALE" 1.000)

(setvar "DIMCEN" -0.06)

(setvar "LTSCALE" 0.250)

(setvar "TEXTSIZE" 0.100)

 

;DO NOT CHANGE PARAMETERS BELOW THIS LINE

 

try "-dimstyle" instead of "dimstyle". Dimstyle invokes the popup and -dimstyle the console sequence. :unsure: and I mean try, I can't test this script.

Posted

I just know this, you can drag your dimensiona into AutoCAD tool palette and use it when necessary.

 

Enter TOOLPALETTES in command line. Drag your dimension into the tool palette, you will now find a new 'Liner Dimension' added in your tools. You can give it a name, and next time when you need a same style dimension, you can use this illustration.

 

---

Sean

AutoDWG

Posted
I just know this, you can drag your dimensiona into AutoCAD tool palette and use it when necessary.

 

Sean

AutoDWG

 

That is an unknown command in AutoCAD 2002 :cry:

Posted

My bad. It seems the feature is not in 2002. I can get it work on 2009.

Posted
That is an unknown command in AutoCAD 2002 :cry:
although I think you can use design centre to the same effect

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...