Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Automating Common Text

  1. #11
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,028

    Default Re: Automating Common Text

    Quote Originally Posted by tedg View Post
    ... I was just saying (whether the OP wants it or not) that set-up dimstyles is the way to go for this, in my opinion...

    I agree.
    John B

    "With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg.

  2. #12
    All AUGI, all the time gfreddog's Avatar
    Join Date
    2003-07
    Location
    Pequannock NJ US of A
    Posts
    639

    Default Re: Automating Common Text

    Quote Originally Posted by jaberwok View Post
    I agree.
    I agree with your agree... I copied them into my Template then dragged them onto a Tool Palette so all I have to do is click and dimension when I want and it's done.

    BTW we network out Tool Palettes so once I set it up everyone had access to it as well.
    George V. Fournier Jr., CTS
    Sr. Sales Engineer - Autodesk Product Design Suite Premium 2014
    2006 AUGI DAWG (7th) - NJ AUGI Camp
    Volunteer Firefighter since 1985 & Bagpiper Wanna-be
    With the freedom of expression comes great responsibility


  3. #13
    Certifiable AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    2,728

    Default Re: Automating Common Text

    Quote Originally Posted by Tom Beauford View Post
    I use a modifyed version of PersonalMtextSymbols.lsp from http://www.jtbworld.com/lisp/PersonalMtextSymbols.htm for Mtext. Besides symbols like × and ÷ I've added all the engineers names with PE numbers. Just right-click in the editor hover over Symbol and pick from the list. This routine updates the Profile in the Windows Registry so it only needs to be run once. I'd recomend creating a new profile to test it with.
    Tom, what do your settings in that .lsp look like for the multiplication or division sign? Can you change font for the 'odd' symbols or text strings you're adding?
    Officially Awesome
    Real pirates wear silk suits & ties, and write EULAs
    The only thing more dangerous to the liberty of a free people than big government, is big business.

  4. #14
    AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    1,099

    Default Re: Automating Common Text

    Quote Originally Posted by cadtag View Post
    Tom, what do your settings in that .lsp look like for the multiplication or division sign? Can you change font for the 'odd' symbols or text strings you're adding?
    My modified version below, you can't change font for 'odd' symbols or text strings. They don't work unless the font has the symbol at the specified location.
    Code:
     ;;; PersonalMtextSymbols.LSP ver 1.0
    ;;; Add personal mtext symbols in the right click menu in the mtext editor
    ;;; By Jimmy Bergmark
    ;;; Copyright (C) 1997-2004 JTB World, All Rights Reserved
    ;;; Website: www.jtbworld.com
    ;;; E-mail: info@jtbworld.com
    ;;; Tested on AutoCAD 2002 - 2009
    ;;; (load "PersonalMtextSymbols.LSP") PersonalMtextSymbols
    ;;; Remember that you can change the contents to whatever you would like
    ;;; The syntax is:
    ;;; (vl-registry-write key "Name <1,2,3...n>" "<Description>")
    ;;; (vl-registry-write key "Contents <1,2,3...n>" "<Value>")
    ;;; Command line: (load "PersonalMtextSymbols.lsp")
    
    (defun PersonalMtextSymbols ()
      (vl-load-com)
      (setq key (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\MTEXT\\Symbols"))
      (vl-registry-write key "Name 1" "%%0215 \U+00D7")
      (vl-registry-write key "Name 2" "%%0247 \U+00F7")
      (vl-registry-write key "Name 3" "%%172  \U+00BC")
      (vl-registry-write key "Name 4" "%%171  \U+00BD")
      (vl-registry-write key "Name 5" "%%0190 \U+00BE")
      (vl-registry-write key "Name 6" "%%0133 \U+2026")
      (vl-registry-write key "Name 7" "Kim sign")
      (vl-registry-write key "Name 8" "Charles sign")
      (vl-registry-write key "Name 9" "Theresa sign")
      (vl-registry-write key "Name 10" "George sign")
      (vl-registry-write key "Name 11" "Felton sign")
      (vl-registry-write key "Name 12" "Kathy sign")
      (vl-registry-write key "Contents 1" "×")
      (vl-registry-write key "Contents 2" "÷")
      (vl-registry-write key "Contents 3" "¼")
      (vl-registry-write key "Contents 4" "½")
      (vl-registry-write key "Contents 5" "¾")
      (vl-registry-write key "Contents 6" "…")
      (vl-registry-write key "Contents 7" "Kimberly Ann Wood P.E. No.  54562")
      (vl-registry-write key "Contents 8" "Charles Wu P.E. No.  47518")
      (vl-registry-write key "Contents 9" "Theresa B. Heiker P.E. No. 43305")
      (vl-registry-write key "Contents 10" "Shinming George Su, P.E. No. 47120")
      (vl-registry-write key "Contents 11" "Felton B. Ard, P.E. No. 51860")
      (vl-registry-write key "Contents 12" "Katherine Burke P.E. No. 42576")
    )
    
    (defun c:PM ()
      (PersonalMtextSymbols)
      (princ)
    )
    Tom Beauford P.S.M. - Civil 2013 on Windows 7 Pro
    Design Analysis - Leon County Public Works/Engineering
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 4
    Last Post: 2012-08-30, 02:31 PM
  2. Automating Clash Reports?
    By pauljordan in forum NavisWorks - General
    Replies: 0
    Last Post: 2011-11-14, 11:31 PM
  3. Automating Layout creation
    By ian.cook in forum AutoLISP
    Replies: 4
    Last Post: 2008-03-27, 09:28 AM
  4. Automating Layer Translator?
    By Chris.Partin in forum AutoLISP
    Replies: 3
    Last Post: 2008-01-15, 08:40 PM
  5. Linked text files for notes common to several sheets?
    By andrew.139822 in forum Revit Architecture - General
    Replies: 9
    Last Post: 2007-06-22, 06:40 PM

Posting Permissions

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