AutoCAD Architecture Forum
Welcome to Autodesk’s AutoCAD Architecture Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MTEXT scaling

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
273 Views, 3 Replies

MTEXT scaling

Is there a way to make "inserted" Mtext come in on the scale of the current space, like with dimensions?
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous



If mtext is inside a block, then no, not without heavy customization.

If the block is exploded, per paste, then the following could be
substituted

for the paste command to accomplish it.

 

[code]

;;Serves as a substitute for paste command where
;;the intent is to have
annotative objects have
;;the current scale added.  Objectscale
prints
;;a message indicating how many objects were changed
;;D. C.
Broad  2008
(defun c:annopaste ( / e ss)
  ;;Get the last object
before paste, if exists
  (if (setq e (entlast))
   
(while (entnext e)
      (setq e (entnext
e)))
    )
  ;;perform paste command
 
(command "_.pasteclip" pause)
  ;;make changes only to pasted
objects
  (setq e (if e (entnext e) (entnext)))
  (setq ss
(ssadd))
  (while e
    (setq ss (ssadd e ss) e
(entnext e)))
  (command "_.-objectscale" ss "" "Add" "" "")
 
;;exit quietly
   (princ))

 

[/code]


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Is
there a way to make "inserted" Mtext come in on the scale of the current
space, like with dimensions?
Message 3 of 4
Anonymous
in reply to: Anonymous

I am not sure if we are talking about the same, thing I am not using blocks. What I would like is for inserting Mtext to be like inserting dimensions. whenever you insert a dim, it comes in at the correct scale.
Message 4 of 4
Anonymous
in reply to: Anonymous

Neither dimensions nor mtext are "inserted" so that confused me.
They are both "added" with their respective commands. Only
blocks are "inserted" as far as I know.

In order for mtext to be annotative, the current text style must be
annotative and the current text size must be set in paper units.
Current implementations of toolbars, tool palettes, and menus
don't do a good job setting up these conditions automatically.
Templates do.

Before adding annotative mtext, use the style command to set
annotative style current and use textsize to set a paper text
height you want. Then start the mtext command and proceed.
The resulting mtext will be annotative and the correct size.



wrote in message news:5991365@discussion.autodesk.com...
I am not sure if we are talking about the same, thing I am not using blocks.
What I would like is for inserting Mtext to be like inserting dimensions.
whenever you insert a dim, it comes in at the correct scale.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost