Jump to content

Search the Community

Showing results for tags 'text'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Categories

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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. 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.
  2. 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
  3. 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.
  4. 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
  5. 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 :-)
  6. 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.
  7. How can i underline a single-line text in AutoCAD 2014?
  8. 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.
  9. 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
  10. 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!
  11. 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?
  12. 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.
  13. 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!
  14. 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?
  15. 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
  16. 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
  17. 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.
  18. Hi all, I need some help with a lisp routine that I'm attempting to write. What I need to do is extract a panel label by selecting the text and then select the dimensions that I need extract, I've managed to extract the dimensions correctly but when the information is extracted I get is "nil" in the first cell where the panel label should be and the dimensions in the next to cells. I don't Have Excel on my workstation so I have to use CSV file, I've already wrote an extraction code to run in Excel to retrieve the information in the CVS file. Also is there a way to save the CVS file in the same location that I have the drawing open? If someone could help me I would appreciate it. (defun c:test( / s tx fn i d dl m file) (setq ss (ssget '((0 . "*text,*DIMENSION"))) fn "f:\\BrianD\\Dims.csv") (repeat (setq i (sslength ss)) (setq d (ssname ss (setq i (1- i))) dl (entget d) m (cdr (assoc 42 dl))) (setq tx (cons m tx))) (if tx (progn (setq file (open fn "a")) (write-line "" file) (foreach ss tx (princ ss file) (princ "," file) ) (if file (close file)) ) ) ) (princ) Thanks Brian
  19. 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...
  20. 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: .
  21. Hi CADmates, I have drawings full of dimensions overlapping on each other. Should any one let me know how to get rid of this position via programming? I tried some coding to move text of dimensions, but no success on associative dimensions. ;| (MT:Move:DimensionText<-Ename (car (entsel)) nil 0 1 0) |; (defun MT:Move:DimensionText<-Ename (%ename% %absolute|relative% %x% %y% %z% / *entlist* *assoc11*) (setq *entlist* (entget %ename% '("*"))) (cond ((/= (cdr (assoc 0 *entlist*)) "DIMENSION") nil) (T (setq *assoc11* (cdr (assoc 11 *entlist*))); text position (setq *assoc11* (if %absolute|relative% (list %x% %y% %z%) (list (+ %x% (car *assoc11*)) (+ %y% (cadr *assoc11*)) (+ %z% (caddr *assoc11*))) ) ) (setq *entlist* (subst (cons 11 *assoc11*) (assoc 11 *entlist*) *entlist*)) (entmod *entlist*) ) ) ) I appreciate any help
  22. I am so close to getting this code to perform but need some final touches and manipulaton.. Currently it offsets all text on a specific layer and copy's and moves it up "0.15" which is what we already have doing with another layer we use in our drawings. (we use this to add specific descriptions above a labeled point.) What I am looking for now is to change the code so that instead of offseting/copying/moving every string of text on DEFICIENCY layer within the drawing, I would like for it to prompt me which individual string of text I would like to offset - i.e. ("\nSelect Text to Offset: "), THEN after I make that selection it offset/copy/move that string up "0.15" and be put on DEFICIENCY layer with its respective properties... Hoping someone can chime in soon and thank you all for the support!
  23. Hello! I've run into this a couple times lately. Text or mtext will become a squiggle. This is usually in a block, maybe even within a block in an xref. Hopefully the image shows below.
  24. 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
  25. I have mirrtext set to '0' so it doesn't mirror the text (which i want, so that's great) however, it does mirror the text justification which drives me nuts. is there a way to fix it so it doesn't change the text formatting at all? please see images. one is non mirrored and you can see the blue grips indicating the change in justification from the left to the right. oops, the first one is after it was mirrored and the second one is pre mirror
×
×
  • Create New...