PDA

View Full Version : Annotative Dimensions



Pierre P
2012-02-13, 08:39 PM
Hi all,

I'm trying to write a LISP routine that will give the user the option to create one or many dimension styles. Some of those dimension styles will be annotative.

I'm having difficulties seeing how I can create the annotative dim styles.
The easy way would be to use the DIMANNO variable and set it accordingly when needed. Unfortunately, it's a READ ONLY variable.

I've been trying to figure out a routine that could create the style regardless of whether it already exists or not. Obviously, if the style exists, the prompted questions will vary.

Any ideas?

Cheers
Pierre P.

pbejse
2012-02-14, 06:52 AM
Look into EXPERT system variable



EXPERT

Type: Integer
Saved in: Not-saved
Initial value: 0

Controls whether certain prompts are issued.
5 Suppresses the prompt, “That name is already in Use, redefine it?” issued by the -DIMSTYLE Save option when you supply the name of an existing dimension style.

fixo
2012-02-14, 09:45 AM
Possible solutions is here:
http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Turn-Off-Annotative-Property-of-Dimstyle/m-p/2505233/highlight/true#M278310
Keep in mind you could be able to set or change annotativity just after
dimstyle is created

Pierre P
2012-02-16, 04:41 PM
AWESOME!

That's what I was looking for
Thank You!

fixo
2012-02-16, 05:37 PM
You're welcome
Cheers :)

~'J'~