See the top rated post in this thread. Click here

Results 1 to 7 of 7

Thread: Linetype with variable text as input.

  1. #1
    All AUGI, all the time
    Join Date
    2009-11
    Location
    Raleigh, NC
    Posts
    937
    Login to Give a bone
    0

    Default Linetype with variable text as input.

    I just had an old timer tell me he he use to have a linetype that would allow him to enter preferred text at the command line.

    I have never used or even heard about this. Is this something true?

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    1

    Default Re: Linetype with variable text as input.

    No, he may have had a program that did that.
    Here's an old wish list of mine: https://forums.augi.com/showthread.p...=1#post1146573

    Complex Linetypes were introduced before Mtext, adding Mtext like features in the definitions starting them with M instead of S or A would make them so much easier and useful.

    1. I'd like see features like Mtext has like referencing fonts instead of Text Styles and Background mask for the text. Then I could call out a font instead of having to create a Text Style using the font just to reference a character. A and S are still the only alignment codes and only A which guarantees the ends always start and end with a dash is documented. Perhaps the more current type formating could be used with a new alignment code.

    2. The ability to set the text angle without being able to center justify it has always been useless.

    3. More shapes in the standard ltypeshp.shp including arcs of 30°, 45°, 60°, & 90° so we wouldn't have to create and keep track of custom shape files for most linetypes.

    4. Incorporate multiline functionally into complex linetypes, multilines were poorly thought out.

  3. #3
    All AUGI, all the time
    Join Date
    2009-11
    Location
    Raleigh, NC
    Posts
    937
    Login to Give a bone
    0

    Default Re: Linetype with variable text as input.

    I didnt think so. I have been using ACAD for 25 yrs now and like you are saying, outside of a few multiline functions I have seen everywhere I have been has .lin files that are modified accordingly.

    - - - Updated - - -
    Last edited by tim_newsome; 2019-09-24 at 05:59 PM.

  4. #4
    I could stop if I wanted to
    Join Date
    2015-10
    Location
    Central New Jersey
    Posts
    439
    Login to Give a bone
    0

    Default Re: Linetype with variable text as input.

    For those one-off oddball lines types I use a piece of Mtext on a line and then Arraypath the Mtext along the line. It looks like a linetype but its really not.


    5. The ability to add starting and ending symbols to linetypes.

  5. #5
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    1

    Default Re: Linetype with variable text as input.

    Quote Originally Posted by tim_newsome View Post
    I just had an old timer tell me he he use to have a linetype that would allow him to enter preferred text at the command line.

    I have never used or even heard about this. Is this something true?
    Carlson (Survey/Civil/Mining) add on for AutoCAD and IntelliCAD has this.
    You can choose "User Def" and enter a string and it will build a linetype on the fly.

    Source: I'm an old timer
    Last edited by rkmcswain; 2019-09-25 at 03:38 PM.
    R.K. McSwain | CAD Panacea |

  6. #6
    I could stop if I wanted to
    Join Date
    2015-05
    Location
    West Des Moines
    Posts
    306
    Login to Give a bone
    0

    Default Re: Linetype with variable text as input.

    If you want to get really fancy you could use a lisp to choose draw a line with a specific linetype. I dreamed that up a long time ago for drawing in utilities and got it to work, but I never actually used it. Ended up basically being a Rube Goldberg routine. Is that a thing? If not copyrighted 2019.

  7. #7
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    0

    Default Re: Linetype with variable text as input.

    Ron Perez ( ronjonp ) lisp for creating linetypes with text at: https://cadtips.cadalyst.com/2d-oper...ustom-linetype
    originally posted at: https://www.theswamp.org/index.php?topic=47058.0

    Cadalyst link seems to be broken lisp attached.
    Attached Files Attached Files

Similar Threads

  1. Replies: 2
    Last Post: 2018-10-04, 11:44 AM
  2. Replies: 5
    Last Post: 2008-01-21, 02:35 PM
  3. Replies: 5
    Last Post: 2007-05-08, 09:59 PM
  4. Recall and input a variable
    By ch00su in forum AutoLISP
    Replies: 10
    Last Post: 2006-09-11, 12:36 PM
  5. Input bearings when using dynamic input
    By rmk in forum AutoCAD General
    Replies: 3
    Last Post: 2006-03-13, 04:39 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
  •