Jump to content

Search the Community

Showing results for tags 'text'.

  • 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 guys, Attachment: Test Drawing.dwg I want to retrive the text's content, the text is placed at a certain XYZ co-ordinate in Autocad, (same coordinates, always for all the drawings). [Refering to the attachment]: The text below the "Surface Area" and the "Weight", are mostly the texts i'm trying to get. These texts sometimes come as a single line text or as a mtext or within blocks.. but always they appear at the same coodinates. Can somebody help me with this?
  2. Hello. I'm looking for a way to draw a polyline, where i enter the points with mouse clicking and when i click the final point and enter button, it writes in text the total lenght of polyline. I know that i can go to the properties and see the total lenght of the polyline and then i can use mtext to write that value near my polyline, but because i have to do that more than 1000s times, i was wondering if there is a faster way or a lisp routine. All ideas are welcome. P.S. I'm using Autocad 2009 and i'm beginner/medium user. Thank you
  3. I have some drawings which contain hundreds of numbers (example: 1-218b), each of which is on geometry which will be written as a block into its own folder. I am trying to write a Lisp that will create all of the folders based on the selected text. I have found a few posts about writing a directory, but it's all super confusing to me. General routine process: 1. Get selected text objects 2. Prompt for directory to create new folders in 3. Create a folder for each selected text object, named based on the text It's ok to assume that the text is already selected when the Lisp starts. If no text is selected, I'd just send an error message to the console and end the routine. It's preferable that the directory prompt is GUI based so that I can navigate to the directory, but I am absolutely clueless here. If needed, I can just copy and paste the directory path into the console. The routine doesn't have to work with MText. The files contain only single line text. If I can get any code working, I'll post it, but I think it's going to take a good long while.
  4. Hello I would like to have a simple lisp routine that divide all the numbers in a given layer by 20, can anybody help me? Thx
  5. Hi there all First post and it's a request for help (although been a long time lurker) I've got a 3d drawing that has a load of levels in 3d positions with text displaying the height value. These are all orientated and readable in plan view. I want to create some sections using the 3d information, and what I would like to work out is the best way to manipulate the level cross (block) and associated text so that it is rotated to a side on section view. (in model space not just in a paper space viewport) I've tried using the rotate3d command on mass and can't quite get the results I'm after, basically it rotates the text so that it is now readable in the section but when selecting multiple items it rotates the whole lot around one datum rather than rotating each item around it's own insertion / justification point. in the above image, to the left is what I'm starting with levels (red) in 3d - next is the result I get from using the command rotate3d (levels in white) when they are selected in one go. the text is rotated so that it's legible but has moved away from the 3d polyline - the 2 to the right show what i'm aiming for, having manually moved them to their representative points and then rotated, however there's gonna be quite a few to rotate and shift along different sections, so it would be good to have this a bit more automated any suggestions? am I not using rotate3d to it's full potential or is this something that would need to be solved with a lisp routine? picking a temp ucs along the section line and then selecting the relative objects to rotate thanks in advance
  6. 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 want these 1 and 0 located in different destination point from excel to CAD by a lisp.
  7. Hi I am trying to get a field to link two texts, so that when the first is edited, the second updates to the same, similar to the =CELL function in excel. I can get this to work when using standard text, however when I try to do this with text that is bold and Arial Narrow, the second text displays lots of additional information. I have attached a screen grab of the field window to show what I mean. How can I avoid this? I am working on AutoCAD LT 2016.
  8. Hi I am new to using fields, and I am having an issue. I wish to link two mtexts, so when the first is edited, the second updates to display the same text, similar to the =CELL function in excel. I use Field>Object>no format, yet it displays to complete contents, including font etc. How can I get the second text to simply display what is in the first text. I have attached a screenshot of my issue. Any suggestions gratefully received. Thanks
  9. lets say I have a drawing of tower and I need to display levels at different heights, say, one at base and then at 1.5 meters above and then at 3 meters .. RLs of these points is 272.5, 274, 277 etc. (RL means height of point above mean sea level). Is there any way to do it fast than just using text command, since I have to display several RLs in one drawing and I have several such drawings. please guide me.
  10. I want to be able to create a dynamic block that I can insert into my architectural drawings. This block will contain text with a box around it. The box will lengthen or shrink depending upon the length of text. Better still, regardless of the text size, the text box will automatically resize depending upon the amount of text AND the size of font. Thanks
  11. Hi Hope some of you can help solving a problem. When using QLEADER (le enter) in a drawing with custom UCS, the text are displaced away from the leader line. As you can see on attached screen dumps, it looks just fine, when in World UCS. When in a custom UCS, the text are displaced, and when I try to move the text, the leader follows (of course as normally intended). How can I make the text get to place itself normaly, when drawing in a custom UCS (2D) Please help :-)
  12. we are use autocad 08 and 07 full versions. my issue is when I use mtext or dtext for a call out or a note on my drawing, and I close the drawing with everything looking good, when we open it on our other machine the orientation is opposite so right is now left, so now some of the notes, not all of the text is not were it should be. If any one has any ideas please let me know. I'm not sure if this is do to a variable on the second machine or something else, we haven't change the text style and have used the same one for the past 12 years.
  13. How can i underline a single-line text in AutoCAD 2014?
  14. Hi to all, Please someone knows if its possible to create a field on a text form that could count a number of texts inside a drawing?... Eg.: I have the word "L1" 10 times in a drawing, it's possible to create a field that show me how many L1 I have in this drawing? Count of L1 = [10]; the item 10 it's automatic updates.
  15. Hi all, I'm looking to sequentially number all my text inserts but based on their content. For example, imagine I have 5 text boxes with the contents as "Text" and 5 with the contents "Number". I want the "Text" boxes to be numbered 1 - 5 and the "Number" boxes to be numbered 1 - 5. I'm aware I can use TCOUNT to auto-number them, but this would mean selecting each box individually based on it's contents. Does anyone know if there is a way of doing this, without using LISP? I have done a google search but I'm not coming up with much. Thanks in advance, Clare
  16. Hi All, I am working on slowly creating some new standards for my office and am starting with some drawing tag blocks. What I need to know is if there is a way to have geometry stretch/move according to the length of a text attribute? For example, the tag name + some geometry that follows as a stylistic part of the tag. I made a block where the geometry in question is attached to a linear dimension attribute and I can use a grip to move it wherever I like. What I need, ideally, is a way where this follows the size/length of the text automatically. After searching the forum, there were one or two similar questions from several years ago, but no solid answers. Any help would be great. Thanks!
  17. I'm wondering if there is any way to show/deal with text boundaries. To clarify, if you add some text to a drawing, as you type, you can see a border around what you're typing. However, that is the only time you can see how much space it takes up. For example, if I wanted to attach a construction line to the top edge of a text block 'boundary', could I do that? Or if I wanted to position a text box such that it doesn't overlap a different one, could I do that? In the picture, I have the cursor positioned so it appears to be over the top of the text, but how would I find out where the upper boundary of that is?
  18. Hi to all, Please someone knows one lisp to get length of a PL (polyline) and write it above this PL in associative and dynamics form? As the Picture. If the length is changed the text follow these data. Thanks in advance.
  19. Hello all! I've been working in autocad for about 5 years now, but am posting in the beginners' area because I've never had the slightest bit of formal training. Lately, the inefficiency of how things are done in my workplace CADwise has really started to drive me nuts, and I've taken it upon myself to figure out how to improve things. I've been learning about dynamic blocks and attributes in order to make the process of placing symbols around the plan more efficient than going to a massive collection of constant objects and having to put them on like stamps on a page. I've learned loads, but there are some things I want to achieve that I can't seem to find any explanation of how. So either I'm blind, it's considered such basic knowledge no one even posts it anywhere, or it's just not possible. Hoping to find out here. Referring to attached example. Visibility states have helped me condense a lot of separate symbols down to one, and making it annotative lets me spin the text easily as needed depending on the facing of the object. Align makes snapping it to strangely angled walls easier too. Now what I'd love to figure out is how I can make the text stay at 0° automatically. Because frankly, I never want it to be otherwise. So if I snap it to a wall and the Align parameter changes the angle of the block, I want it so that the F remains perfectly upright within the square. Not at an angle. If I use the rotate command, again, it will remain upright automatically. I've played with the rotate parameter and action and learned how you can use them in an action chain to rotate an object while keeping the text centered and upright, but that's only if you grab the rotate grip and spin. Which is obnoxious since I can't specify an angle that way (despite it saying you can... ). So I'd like to be able to use the rotate command. I'm more used to using that anyways. FireAlarm.dwg
  20. When I edit horizontal texts, they suddenly become vertical. Then I cannot to make them back to horizontal. Why? What can I do to avoid this? Thank you!
  21. Hello. I have looked here but not found. Does anyone know a routine that enables the auto numbering text strings by selecting one by one?
  22. Hi All, I'm having a little trouble figuring out how to center my text in the middle of the rectangle after its created. Here's what I have so far, it works but it waits for me to place it. Also I do a lot of panels that are the same size so I also want the lisp to remember the last input so I can continue to use it until I hit escape or return. If I could get some help I would appreciate it. (defun C:CRP7() (setq cmdold (getvar "cmdecho")) (setvar "cmdecho" 0) (setq PL (getstring "Enter a Panel Label :")) (setq PA (getpoint "Select Panel Area :")) (command "-boundary" "Advanced" "Island" "No" "Nearest" "" pa "") (command "_.change" (entlast) "" "_p" "_la" "Router - Green - V groove" "") (setq ts(getvar "textsize")) (setq tsty(getvar "textstyle")) (if(= 0 (cdr(assoc 40(tblsearch "style" tsty)))) (progn (command "text" "Justify" "Center" pa ts 0 PL))) (setvar "cmdecho" cmdold) (princ) ) Thanks Brian
  23. When I use plot to pdf, I look at the pdf and everything looks fine, however when I plot said pdf file I get text that is "in jail" the only thing that is different between the different text file is using wipeout or mask, will show the bars. I've tried to upload a pic, but its not letting me.
  24. Hi This is my first post in this awesome forum:). I’ m newbie in drafting Kindly help me with a lisp program. That Asks the user to select various texts in the drawing Places an attribute text over the selected text without replacing them Makes an attribute block with that att texts The values of the att block should contain the texts Note: the tag name should be following a number system (If I have selected 3 texts then the tag names can be antas1,antas2,antas3 or yourname1,yourname2,yourname3:P) Please help me. Daily I have to spend one hell of time in this work:cry: .
  25. Guys, I need one help, someone knows one Lisp that I can get Texts (words) on AutoCad and export it in order of selection to a cell on Excel... Eg.: If I have 10 words, as I'll selecting it and when finished these then words will be exported to a cell (could be cels) to Excel. Thanks in advance...
  • Create New...