antistar Posted September 24, 2010 Posted September 24, 2010 I have the variable DIMTXSTY set like this: (setvar "DIMTXSTY" "MYNAMESTYLE") But this only affects the new dimensions. How do I update this variable to the existing dimensions in the drawing? Does anyone have a suggestion? Quote
alanjt Posted September 24, 2010 Posted September 24, 2010 Command: dim Dim: up Select objects: all 3217 found 12 were not in current space. Are you trying to do this in code? Quote
alanjt Posted September 24, 2010 Posted September 24, 2010 (vla-put-textstyle (vlax-ename->vla-object ) (getvar 'DIMTXSTY)) Quote
antistar Posted September 26, 2010 Author Posted September 26, 2010 Thanks for the reply I'm out off office, but I'll try it on monday.. Quote
antistar Posted September 27, 2010 Author Posted September 27, 2010 (vla-put-textstyle (vlax-ename->vla-object <ENAME>) (getvar 'DIMTXSTY)) Alan, This code is used for all CADs? Return this message error in CAD2002: ; error: bad argument type: lentityp nil Quote
alanjt Posted September 27, 2010 Posted September 27, 2010 Alan, This code is used for all CADs? Return this message error in CAD2002: ; error: bad argument type: lentityp nil Did you replace with your entity? Quote
antistar Posted September 27, 2010 Author Posted September 27, 2010 Which entity name to encompass all the DIMSTYLES? Quote
alanjt Posted September 27, 2010 Posted September 27, 2010 Which entity name to encompass all the DIMSTYLES? You have to create a selection set of the desired dimensions and step through them one by one. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.