Jump to content

Recommended Posts

Posted

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?

Posted

Command: dim

Dim: up

Select objects: all
3217 found
12 were not in current space.

 

Are you trying to do this in code?

Posted
(vla-put-textstyle (vlax-ename->vla-object ) (getvar 'DIMTXSTY))

Posted

Thanks for the reply I'm out off office, but I'll try it on monday..

Posted
(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

Posted
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?

Posted

Which entity name to encompass all the DIMSTYLES?

Posted
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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...