Hi Guys
AutoCAD R2006
Anybody found the way to set DIMFXL + DIMFXLON dimvars programmaticly?
it seen like the only way to set them is from dimstyle dialog box
(even if there is a difference between them and the global dimvars the dialog box doesn't reflact that) even in the extended data it's not there
thanks in advance
moshe
@Moshe-A wrote:No
What about ActiveX"
(vlax-invoke (vla-get-activedocument (vlax-get-acad-object)) 'GetVariable "DIMFXLON" )
(vlax-invoke (vla-get-activedocument (vlax-get-acad-object)) 'SetVariable "DIMFXLON" 0)
(vlax-invoke (vla-get-activedocument (vlax-get-acad-object)) 'GetVariable "DIMFXL" )
(vlax-invoke (vla-get-activedocument (vlax-get-acad-object)) 'SetVariable "DIMFXL" 12)
$ (vlax-invoke (vla-get-activedocument (vlax-get-acad-object)) 'GetVariable "DIMFXLON" )
; error: AutoCAD: Error getting system variable
_$ (vlax-invoke (vla-get-activedocument (vlax-get-acad-object)) 'GetVariable "DIMFXL" )
; error: AutoCAD: Error getting system variable
_$
Hi,
i'm writting a small setup program that create Layers, Text Style and Dimension Styles
thank you very much for trying to help.
Moshe
@Moshe-A wrote:Hi,
i'm writting a small setup program that create Layers, Text Style and Dimension Styles
thank you very much for trying to help.
Moshe
I tried it on 2007 , its seems to work there, cant find any version lower than that here though. I guess i cant be of any more help Moshe-A.
BTW: what about thru command prompt:?
(command "_setvar" "DIMFXLON" 1)
(command "_setvar" "DIMFXL" 12)