importing text thru mtext

Discussion in 'AutoCAD' started by trynders, Feb 10, 2004.

  1. trynders

    trynders Guest

    Hello,
    I'm am trying to import some text with an ".RTF" extension thru mtext and it tells me that the file is too large to import as an mtext entity. Maximum size is 16k. A different user gets max. size is 12k. Can this value be increased and how?
    We are running Acad2002 (actually Land Desktop).
    Thanks
     
    trynders, Feb 10, 2004
    #1
  2. trynders

    John Uhden Guest

    That's interesting. While these days many are warning not to use (entmake), I
    just pulled up my old DDMTEXT routine and succesfully imported the entirety of a
    269Kb LSP file into LDT3 with tracking and other formats that bloat the object.
    Using (setq String (vlax-get Object 'TextString)) the (strlen String) was 375459
    including all its special formatting code. I then created a new mtext object
    and tried (vlax-put Object 'TextString String). The new object accepted only
    32000 characters from the original.

    So it appears that the ActiveX method has some significant limitations. The
    "get" was fine; it was the "put" that was limited.




    tells me that the file is too large to import as an mtext entity. Maximum size
    is 16k. A different user gets max. size is 12k. Can this value be increased
    and how?
     
    John Uhden, Feb 11, 2004
    #2
  3. trynders

    Doug Broad Guest

    Yes that is interesting John. Thanks.
     
    Doug Broad, Feb 11, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.