In any drawing, created by me or anyone else, I want to call up my own
dimension style (previously created and saved away on my PC) and add
dimensions to that drawing.
Also, if it is possible, to then update all previously added
dimensions using my own dim style.
I have looked at DDIM command, but cannot figure out how to do it !
Any ideas ?
Note: every time modify dim variables in r14, always save in the base
dialog box b4 closing otherwise, you will only be in override mode.
GL
William B.
I started with all extracting all the dimsettings:
setvar
?
dim*
This gives me a list of all dimsettings and a default value. Next I made
a lisp routine consisting of little more than:
(setvar "DIM..." value)
And I concluded with:
(command "dimstyle" "s" "standard");; I'm not sure about the "s",
;; simply type dimstyle at the
;; commandline for the syntax.
Part two consists of retrieving dimsettings for:
linear dimensions (standard$1)
angular dimensions (standard$2)
radial dimensions
diameter dimensions
etc.
(The numbers can be guessed when looking at the GUI dim-setting tool.)
You can finish the job by updating all dimensions. You might want to
leave out the dimlfac for this command.
I hope I have given you some clues to start with. If you want a more
complete story (i.e. most part of the lisp-files) mail me.
Grtx,
Huub