0 Members and 1 Guest are viewing this topic.
(vl-load-com)(vlax-for x (vla-get-TextStyles (vla-get-activedocument (vlax-get-acad-object)) ) (vlax-put x 'width 1.0))
The following will set the width of all text styles in the DWG to 1.0.Code: [Select](vl-load-com)(vlax-for x (vla-get-TextStyles (vla-get-activedocument (vlax-get-acad-object)) ) (vlax-put x 'width 1.0))Note that changing the properties of the style will not necessarily update existing text/mtext objects that use this style.