Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set the dimension break size in autolisp

5 REPLIES 5
Reply
Message 1 of 6
cadking2k5
1266 Views, 5 Replies

How to set the dimension break size in autolisp

I there any way to set the dimension break size in autolisp

5 REPLIES 5
Message 2 of 6
Kent1Cooper
in reply to: cadking2k5


@cadking2k5 wrote:

I there any way to set the dimension break size in autolisp


If I understand what you're asking:

 

(setvar 'dimgap YourValue)

 

or maybe you mean the 'dimexo System Variable instead -- read about those two to decide.

Kent Cooper, AIA
Message 3 of 6
yyxuxyy
in reply to: Kent1Cooper

dim break.pngi think this is what he means.

Message 4 of 6
Kent1Cooper
in reply to: yyxuxyy


@yyxuxyy wrote:

dim break.pngi think this is what he means.


Probably, but since they want to set it in AutoLisp, it's necessary to know the name of the System Variable that stores it.  Help isn't crystal clear about it, but DIMGAP is described as saving "the distance around the dimension text when the dimension line breaks to accommodate dimension text," so I assume that's the one.

Kent Cooper, AIA
Message 5 of 6
lando7189
in reply to: cadking2k5

It is stored within the 'ACAD_DSTYLE_DIMBREAK' xdata of the dimstyle.

Message 6 of 6
lando7189
in reply to: lando7189

I found out that i asked this same question and solved it about 10 years ago under my old user name...

 

The code there retrieves it... but does not set it, but shouldn't take much to alter it to change the value.

 

https://forums.autodesk.com/t5/autocad-forum/dimbreak-gap-size/td-p/1917127

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost