Results 1 to 8 of 8

Thread: Macro to insert symbols in Mtext

  1. #1
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Question Macro to insert symbols in Mtext

    Howdy everyone, I couldn't find any thread on this.
    I'm using ADT 2006, and among other things, I do a bunch of steel details.

    My question is: is there a quicker way to add the "Property Line" symbol (U+214A) while in mtext other than typing in the code or right-click pull down?

    We use it to stand for PLATE in structural details, and I'd like to type a macro or something to speed it up. I'm very familiar with AutoLISP and modifying the PGP file. I just don't know how I could go about doing this. Is there a way to insert something while in mtext with an alias or lisp?

    Thanks for any help out there.

    Ted

  2. #2
    AUGI Addict Maverick91's Avatar
    Join Date
    2000-12
    Location
    Grand Prairie, Texas, USA
    Posts
    1,324
    Login to Give a bone
    0

    Default Re: Macro to insert symbols in Mtext

    Quote Originally Posted by tedg
    Howdy everyone, I couldn't find any thread on this.
    I'm using ADT 2006, and among other things, I do a bunch of steel details.

    My question is: is there a quicker way to add the "Property Line" symbol (U+214A) while in mtext other than typing in the code or right-click pull down?

    We use it to stand for PLATE in structural details, and I'd like to type a macro or something to speed it up. I'm very familiar with AutoLISP and modifying the PGP file. I just don't know how I could go about doing this. Is there a way to insert something while in mtext with an alias or lisp?

    Thanks for any help out there.

    Ted
    Here are a couple of alternate ideas:

    Depending on the font, you could copy the symbol from the Windows Character Map to the clipboard. Then, while in the MTEXT editor, right-click and paste it in.

    If you have many locations in a drawing to change, you could use the Find function and place the symbol.

  3. #3
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Thumbs up Re: Macro to insert symbols in Mtext

    Quote Originally Posted by Maverick91
    Here are a couple of alternate ideas:

    Depending on the font, you could copy the symbol from the Windows Character Map to the clipboard. Then, while in the MTEXT editor, right-click and paste it in.

    If you have many locations in a drawing to change, you could use the Find function and place the symbol.
    Thanks, but I'm trying to avoid the whole right-click thing if I can.
    The font I'm using is Romans. What I'm really hoping for is a way to shorten the code the creates the symbol, something like the way "%%c" does the diameter symbol.
    I just want to be typing my notations and quickly add that symbol.

    Is there a way to alias that code?

  4. #4
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: Macro to insert symbols in Mtext

    Is it not in the Mtext editor's Symbol menu? Click the button with the down-pointing arrow and select "Symbol".

  5. #5
    Wish List Manager BrenBren's Avatar
    Join Date
    2000-11
    Location
    150700
    Posts
    3,439
    Login to Give a bone
    0

    Default Re: Macro to insert symbols in Mtext

    Quote Originally Posted by jaberwok
    Is it not in the Mtext editor's Symbol menu? Click the button with the down-pointing arrow and select "Symbol".
    If you are showing your options on your mtext toolbar, the @ button is a quick way to insert symbols..

    He was doing the right click, symbols, which is almost the same as the down arrow, symbols... ~shrug~

  6. #6
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: Macro to insert symbols in Mtext

    Quote Originally Posted by jaberwok
    Is it not in the Mtext editor's Symbol menu? Click the button with the down-pointing arrow and select "Symbol".
    Yup they are, I can use the pull down menu, or right-click or type the code "U+214A" to get what I want. I'm just too lazy to do all that.

    I want a shortend version of the code or a quicker way to add the PROPERTY LINE symbol within the mtext editor.

    Maybe I'm asking for too much. AutoCAD lets us modify allot of other things. I was just hoping there was some file I could edit or write a lisp, or macro of some sort to do it for me.

    The problem is I want to do it while I'm in the mtext editor, I don't know if it's possible.
    I guess I'm stuck doing it the old fashioned way.

    Thanks anyway.

    Ted

  7. #7
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: Macro to insert symbols in Mtext

    Quote Originally Posted by BrenBren
    If you are showing your options on your mtext toolbar, the @ button is a quick way to insert symbols..

    He was doing the right click, symbols, which is almost the same as the down arrow, symbols... ~shrug~
    Thanks BrenBren, that's a little quicker!
    It takes one of the steps out, nice tip.

    Ted

  8. #8
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: Macro to insert symbols in Mtext

    Quote Originally Posted by BrenBren
    If you are showing your options on your mtext toolbar, the @ button is a quick way to insert symbols..

    Well, well. I've never clicked that before (strange).

    Ta, Brenda.

Similar Threads

  1. Insert filename into macro?
    By metron4 in forum AutoCAD Customization
    Replies: 2
    Last Post: 2011-03-07, 09:59 PM
  2. continuing macro after mtext input
    By jsr07 in forum AutoCAD CUI Menus
    Replies: 3
    Last Post: 2010-09-02, 03:48 PM
  3. text to mtext Macro?
    By esdeyo in forum AutoCAD LT - General
    Replies: 4
    Last Post: 2008-10-15, 05:24 PM
  4. Change default txt ht in mtext macro
    By jgratton in forum AutoCAD General
    Replies: 2
    Last Post: 2008-04-10, 02:51 PM
  5. Mtext symbols
    By sbradford in forum AutoCAD General
    Replies: 4
    Last Post: 2005-11-09, 12:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •