Jump to content

Changing dimstyle...


cullen
 Share

Recommended Posts

I'm having to write a lisp routine for a client that will change a number of drawing variables at once. I've got everything to work correctly except the dimscale. Does anyone happen to know the code to set a certain dimstyle current? I've been looking everywhere.

 

Thanks,

crw

Link to comment
Share on other sites

I figured it out...

 

Incase any of you are wondering how to do this as well.

 

you have to put a "-" infront of the word dimstyle. This will make it run from the command line instead of the dialog box.

 

here's an example:

 

(defun COMMAND HERE ()

(command "-AECDWGSETUP""SC""12""1/8\"""4'-0\"""")

(command "-DIMSTYLE""R""DIMSTYLE HERE")

 

Hope that helps somebody:D

 

crw

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...