×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Mtext defaults
3

Mtext defaults

Mtext defaults

(OP)
I have a guy that I work with here who wants the default setting for his text to be center middle instead of top left.  Is there a place to change this. We both use AutoCad LT 2000.

Thanks

RE: Mtext defaults

I can't think of an automatic setting, but you could create a button macro that will set it for you.
Try this:

^C^Cmtext;\justify;tc;

Everytime you ust this button, it would set the justification to top center for this piece of mtext.

RE: Mtext defaults

(OP)
Well this didn't exactly work.  The process of mtext requires that I select my first corner then put in justify mc and then select my second corner.  I've attached what my command line said when I tried your macro.  It took me a little while to figure out how to enter a macro and I'm sure there are better ways.  (I had to copy my aclt.mnu file to my personal drive so I could have write permision to it.  Then I had to edit under options where it looks for that file.  Next I double clicked my mtext icon when I had the toolbars window open and I was able to edit the mtext button macro.  I don't know how to make a new button from scratch.  Anyhow is there something that can be put in the macro to let me input the mouse click for where I want the mtext to be started?

Thanks,



Attached command line information

Command: _mtext Current text style:  "Standard"  Text height:  0.2000
Specify first corner:

Point or option keyword required.
Specify first corner:
Specify opposite corner or [Height/Justify/Line spacing/Rotation/Style/Width]:

Command:

RE: Mtext defaults

2
view -> toolbars
select [new]
give name, [ok]
choose "commands" tab, highlight "user defined"
hold control and drag copy of "user defined button" to new toolbar
right click button in new toolbar, choose properties
then copy and paste below code into new button

^C^Cmtext;\justify;mc;

give button name and image.
the slash allows for user input

Intel P4 1.7 GHZ
768 RDRAM
Win 2000 Pro
Autocad 14, 2002 with EP 2.3.1

RE: Mtext defaults

(OP)
Thanks,
   It works for me.  My orignal attempt had a space in it which I could see know that I know what the slash means.  I especially found how to make a new icon helpfull.

Thanks,

RE: Mtext defaults

Sorry, I should have explained a little more, but I think ozzy84 covered it.
One other thing, which you probably picked up on, is that the semicolon ; acts as an enter, as does a space.

Creating button's like this can be very helpful for repeated tasks.  The best way to figure out what to put in is to go through each step at the command line.  If you can figure out how to manually enter each bit, you can put it all together into a single button

RE: Mtext defaults

(OP)
It is great information to know.  Is it simple to make new commands also. (I could enter a command in a script file where I cant sellect a button in one) I figure it would be just adding a line of code in a file in the support directory.

Thanks,

RE: Mtext defaults

Dear OZZY84

I find it very helpful the information you gave to FacilitiesCAD.
But now my question is. What should I add to the command line commad placed on the macro, so that every time I place text, the with of that same text is 0.
I try everything but nothing works

RE: Mtext defaults

easy

^C^Cmtext;\justify;mc;width;0;

as stated by CDH the ";" acts as an enter so the above just adds, "width" [enter] "0" [enter]
how many lines are shown on your command line?
i recommend showing at least 3 lines.

Intel P4 1.7 GHZ
768 RDRAM
Win 2000 Pro
Autocad 14, 2002 with EP 2.3.1

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources