Jump to content

Recommended Posts

Posted

Hi,

I dimensioned my drawing with different text height...oncle i plotted it looking ugly with different text heights..could any one help me how to

change all text to one heights..

thanks

Posted

I'm just throwing this idea out there for others to comment on.

 

Could the OP use QSELECT > Object type: Text > Properties: Height then select all the dimensions where the height of the text needs to be adjusted?

Posted

without more information from the OP that's what I would do.

Posted

Perhaps match properties, select the one you want, then click on all the dims you wish to match up?

Posted

there is somethig missing here. If you dimension using the available tools, the height should remain constant for each style. I'm wondering if it has had dimensions added or lines, arrows and text. Until we know HOW it was dimensioned we don't know what to suggest.

Posted

actually i edited text with the DDEDIT command ,while edeting this i use different text heights.

Posted

Not sure if this is of any use, wrote it a while back:

 

;|

   .: Automatic Dimension Updater :.

    .: Function Syntax : DIMUPD :.

        .: by Lee McDonnell :.

   
  (With credit to Wizman & ASMI for help and coding).

|;

(defun GetLayerList ()
   (vl-load-com)
   (vlax-for l 
       (vla-get-Layers
              (vla-get-ActiveDocument
           (vlax-get-acad-object)))
       (setq oLst
           (cons (vla-get-Name l) oLst)
       ) ; end setq
   ); end vlax-for
     (reverse oLst)
); end of GetLayerList

(defun c:dimupd    (/ oldcmd oldlay laylist ss1)

   (setq oldcmd (getvar "cmdecho"))
   (setq oldlay (getvar "clayer"))
   (setvar "cmdecho" 0)
   (if (tblsearch "dimstyle" "standard")
       (progn
           (if    (not (tblsearch "layer" "DIM"))
               (command "-layer" "m" "DIM" "c" "2" "DIM" "")
            ) ; end if
           (command "-dimstyle" "restore" "standard")
           (GetLayerList)
           (foreach lay oLst
               (if (setq ss1 (ssget "x" (list (cons 0 "dimension") (cons 8 lay))))
                   (progn
                       (command "._change" ss1 "" "p" "layer" "DIM" "")
                       (command "-dimstyle" "apply" ss1 "")
                   ) ; end progn
               ) ;  end if
           ) ; end foreach
       ) ; end progn
       (alert "\nStandard Dimstyle Does not Exist.")
   ) ; end if
   (setvar "clayer" oldlay)
   (setvar "cmdecho" oldcmd)
   (princ)
) ; end defun

 

Just throwing it in there :thumbsup:

Posted

I would create a new dim style that was what i wanted the font and text height to be. then change all the dims to that style.

Posted
I would create a new dim style that was what i wanted the font and text height to be then change all the dims to that style.

 

 

Nice idea - create the new dimstyle.

 

If you sub that dimstyle name into my LISP, - it will automatically update all the dims. :thumbsup:

 

Although this may already be an option on '06

Posted

You can also use the filter option to select all text, then in the properites box change all the filtered text to the same text height.

Posted

I have a related question.

I can't change my text height at all. When I change it the new height shows in the properties box, but nothing has changed in the dwg. The Text style Standard, set to height 0. The dim style being used is Standard. I've double checked everything I can think of. Any ideas why this is happening?

Posted

have you messed with the scale under dim style by any chance. And when creating new you should try to make new but make it a copy of standard. just so you always have some thing to go back to.

Posted

OK, got my problem solved, thanks anyway.

Made a new dim style, etc. etc. Shouldn't have had to do it, and it doesn't fit with the client standards (different dim style name).

Posted
The Text style Standard, set to height 0

 

I didn't think an input of text height "0" was a valid input?

Posted

I didn't think an input of text height "0" was a valid input?

 

If '0' is set in text style, the text height set in dimension style over-rides, and is constant and constantly scaled. If greater than '0' set in text style then that size over-rides. Can lead to some strange anomalies.

Posted
If '0' is set in text style, the text height set in dimension over-rides, and is constant and constantly scaled. If greater than '0' set in text style then that size over-rides. Can lead to some strange anomalies.

 

Ahh, thank you for the clarification Merdrignac - you learn something new everyday :)

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