Jump to content

Search the Community

Showing results for tags 'mtext'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • CADTutor
    • News, Announcements & FAQ
    • Feedback
  • AutoCAD
    • AutoCAD Beginners' Area
    • AutoCAD 2D Drafting, Object Properties & Interface
    • AutoCAD Drawing Management & Output
    • AutoCAD 3D Modelling & Rendering
    • AutoCAD Vertical Products
    • AutoCAD LT
    • CAD Management
    • AutoCAD Bugs, Error Messages & Quirks
    • AutoCAD General
    • AutoCAD Blogs
  • AutoCAD Customization
    • The CUI, Hatches, Linetypes, Scripts & Macros
    • AutoLISP, Visual LISP & DCL
    • .NET, ObjectARX & VBA
    • Application Beta Testing
    • Application Archive
  • Other Autodesk Products
    • Autodesk 3ds Max
    • Autodesk Revit
    • Autodesk Inventor
    • Autodesk Software General
  • Other CAD Products
    • BricsCAD
    • SketchUp
    • Rhino
    • SolidWorks
    • MicroStation
    • Design Software
    • Catch All
  • Resources
    • Tutorials & Tips'n'Tricks
    • AutoCAD Museum
    • Blocks, Images, Models & Materials
    • Useful Links
  • Community
    • Introduce Yourself
    • Showcase
    • Work In Progress
    • Jobs & Training
    • Chat
    • Competitions


  • Programs and Scripts
  • 2D AutoCAD Blocks
  • 3D AutoCAD Blocks
  • Images
    • Backgrounds

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

  1. Hi erverybody, when manipulating "MTEXT" objects, I can not get some information about this kind of object, while they are shown in "PROPERTIES" commands window. Should any one know where they are? One of the hidden properties of "MTEXT" is shown in PROPERTIES dialog, under "Text" region, with the lable "Columns". I appreciate greatly any help or clue guiding me to the solution.
  2. Hi all, how is it possible to get and put alignment of a MTEXT object via AutoLISP? I appreciate any help.
  3. I have searched all over for the answer to this but with no success. When I am in my VP and double-click the MTEXT it stays horizontal. Then when I type any letter or spacebar it rotates to East. My VP is rotated with North pointing NW. I have tried MTEXTFIXED I have tried MTEXTFIXED . When I try to change to OldEditor it says that it cannot acknowledge the font, which is Hand. Hand is our special type of font that we use. How on earth do I get the text to stay horizontal while editing? I can't remember her name Lynn or something, said that its frustrating standing on your head to edit text.
  4. As posted over at theSwamp, I thought I'd post it here for you guys also CopyText.lsp The program will allow a user to copy the text content from a source object to a selection of destination objects or swap the text content between two objects. The user may select from Text, MText, Attribute, or Multileader objects. Upon choosing 'Settings' the user can alter whether source object formatting should be retained upon copying/swapping to/with objects which permit the use of such formatting. Ideas/criticism/feedback are, as always, welcome Enjoy! Lee Cop
  5. I found valuable lisp for auto creation block. I want to improve this lisp to following requirement * block selected object individually, not in one block thanks AUTO-BLOCK.LSP
  6. I want to add text to an existing MTEXT, but the utility I have used doesn't support what I am trying to do. I can select it fine, but it doesn't come out right. This is the old format: This is the new format (this is what is desired): This is the old text in properties: This is the new text in properties (this is what is desired): I tried to use this code to call a MRWA.lsp (but the format doesn't work right): (setq mylisp "MRWA.lsp") ; Set the lisp routine name (setq
  7. Hi there! I am exploring lisp and dcl at the same time. I have this DCL as shown below. Whenever the command is done and doing the same command again, values reset (pic2). I want the values to remain whenever I used the dcl again after I press "Ok" to edit particular inputs instead of typing the whole data again. How could I possibly do that? Here is the dcl code I used. CHECKING : dialog { label = "CHECKING"; : row { :boxed_row { label = "PARAMETERS"; : edit_box { key = "a"; label = "Wind Pressure (kPa)"; edit_width = 8;}
  8. I've only been learning LISPing for a few weeks so C&C's are most welcome. LINK TO VIDEO: One of my most used LISPs is the LeaderToMleader.LSP. Found here. It was last updated many moons ago, so I decided to try learn and modify it to suit. Many thanks to the original author Lyle Hardin. I just need some guidance on how to get UCS working with it. EDIT. Using the TRANS fn. It works okay. Took a bit of tweaking but I got it. Please test. Here's a list of things I've changed at the top of the code: Main ones are: Multiple Selection - User can now se
  9. Hi, Please see attached the Fuzzy Text Problem.dwg Fuzzy Text Problem.dwg The bottom of the two text (MTEXT) has a Z value of 0. When exploded to TEXT it has a value of -0.00000454. It appears FUZZY in AutoCAD for this reason. 2d wireframe is set DVIEW is ok also. FLATTEN or my routine below for putting objects to Z won't work either. (defun C:FX_Flatten_To_Z () (command "_.UCS" "") (command "_.move" "_all" "" '(0 0 1e99) "" "_.move" "_p" "" '(0 0 -1e99) "") (princ) ) Any insight to this problem would be great, thanks.
  10. Howdy howdy, Any time I would like to create an EXACT height over the x2.5 that can be selected in the MTEXT Editor dropdown, it gives me the minor annoyance of having to do the process twice. The first time I input my line spacing (With 'exact' selected), apply, and close the dialogue box, the text gets all scrunched up. It will stay like this until I go BACK into the line space dialogue box and input the amount I want again. Attached are pictures of the described process. Thoughts? [attachment=48613:name] [attachment=48614:name] [attachment=48615:name] [attachment=48616:name]
  11. Hi all, whenever I enter the MTEXT editing function, then type a letter on any given line of text, that line rotates to the world UCS. This makes typing almost impossible, as the overlapping text can't be read clearly. Any suggestions? I'm using AutoCAD 2013 for Mac and looking at my drawing with a rotated UCS.
  12. Hello everybody, This is my first post on CADTutor. I've been reading alot here even before I became a member, but it is time for me to join the community with a question since I cannot find the exact answer to mine. Question: Is it possible to sum numbers in Mtext fields created with lisps? AT.LSP OT.LSP I edited them to suit my needs with prefix and suffix and decimal precision (they are in the core the same, originally made by JTB), one is displaying area of selected polyline (AT.lsp) and the other perimeter/length (OT.lsp). I would like to preserve possibility of field updating so wh
  13. Hi all, I would like to know how I can replace a MTEXT (not TEXT) of an attribute by selecting a TEXT/MTEXT. Thank you so much !
  14. HFBandit

    MTEXT "squashing" on move

    Hi I'm running LT 2017 and have encountered an issue when moving MTEXT. As I move the text, the transparent "placeholder" text is squashing vertically. This makes it hard to know where the end position of the text will actually be. Hopefully the attached image will clarify what I mean.
  15. Hello. I want to change line space factor for all the mtext objects in a hole bunch of drawings by script. I found this lisp and it works fine but only by manually selecting the mtext objects. (setq vla_mtext (vlax-ename->vla-object (setq mymtext (car (entsel))))) (vla-put-LineSpacingFactor vla_mtext 0.5) Can this lisp be changed so it changes all mtext objects found in the drawing, or is there another way? Thanks
  16. We are getting some serious issues with plotting in Autocad. In one of our drawings, someone dimensioned the diameter of a circle. Here is where things get weird: It showed up in Paper space. It showed up when it was plotted to our Ricoh printer. When it was plotted to our HP Designjet the MText was gone. No dimension line, no text, nothing. The weirder thing is this behavior is inconsistent. I've plotted it on two separate computers and it shows up just fine. But sometimes it won't show up at all. Has any one else experienced this issue or a similar issue? Or does anyone know any reas
  17. I am trying to write a routine to "simulate" MText command in lisp using predefined Text Height (2.0mm in this case for 1:1 scale) and text Style. I started with this code: (defun C:test (/ Height Style) (setvar "cmdecho" 1) (setq Height (* (getvar "DIMSCALE") 2.0 )) (setq Style "My_Style") (command "._MTEXT" pause "H" Height "S" Style pause) (princ) ) The text style seems to work but the Text Height doesn't change. Could anyone help please?
  18. I've attached a sample of some text we got in a CAD drawing from one of our clients. For whatever reason, all the standard text is showing up as vivaldi text for me. A coworker said he was able to open up the drawing and everything was showing up fine?? If you look in the contents under properties there's a slash pxqc prefix that I've never seen before. It's like Vivaldi was set up an override to the standard text style. So even if I change the text style to something else, the Vivaldi text persists. So the only way I see to change it back to something different is to open eve
  19. I'm about to receive a bunch of borehole data for a bigger project with x,y coordinates in state plane for each hole and I believe it will be sent as an Excel file. I'd like to add a center-justified text consisting of the borehole name at the x,y coordinate where it should go so I can quickly check out the location of a hole and then look up its other properties by name in the Excel sheet. So far, I'm thinking about concatenating the cells and adding spaces in a separate column in excel so that for each hole I have something like: text j mc 0 x-coordinate,y-coordinate BH120 in a sin
  20. Hi! I have a text box containing mText with fields. I have drawn up the multiline box I want to have the text in, problem is that when the fields change the text gets longer and therefor makes the box bigger leading to my text no longer staying within the size its supposed to. Is there a way to fit mtext? Force it to stay within the set border and if more rows than fit are added, shrink the text? Thank you!
  21. Currently, I have an Excel table. Numbers of column contains 0 or 1. I have to copy column by column into notepad and then copy the notepad contain to CAD. After that, I have serval individual column of Mtext. Then I further explode them into text. A numbers of individual text are pasted on CAD and this is what I want. However, if I do copy multiple column into notepad, the result is a whole Mtext which is containing all columns. I explode the Mtext and I will obtain multiple line of text. I am searching for a lisp to convert/separate Mtext to individual text. For more advance, I wa
  22. I have a question about MTEXT... specifically the tab and indents at the top of the MTEXT input window, how can I set the "tolerance" of the ruler? currently the ruler shows 1/8" increments and will not allow me to set new Tabs between the tick marks. I want to be able to click new tabs at 1/16" increments. Is there a setting for the tolerance or a good way to set tabs with out manually having to type them in the paragraph window? Thanks in advance!!
  23. I am trying to QLATTACH some errant leaders to their respective text. In my QLEADER (S)ettings I have: Annotation Type: Mtext Options: prompt for width Reuse: None Leader Line & Arrow Leader Line: straight Points: 2 Arrowhead: closed filled First segment constraint: any angle Second segment constraint: horizontal Multiline Text Attachment Text on left side: middle of bottom line Text on right side: middle of top line Underline bottom line: unchecked However, when I QLATTACH the leader to text, it wants to add a point to the leader and either underline t
  24. Hi all, I have about 140 layouts and I've just been asked to add a piece of information (some mtext) to every other layout, any ideas? Any help is appreciated, Dave
  • Create New...