Jump to content

Search the Community

Showing results for tags 'line'.

More search options

  • 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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

Found 73 results

  1. Dear friends, how long I was here!... I need some help, if someone knows any lisp to convert Lines in 3D to 3D Polylines. The goal about it is to do a Pipeline tubes in 3D way. Thanks a lot for any help. CafeJr...
  2. ElCidCampeador

    VBA Autocad: How to find lines?

    I'm trying to write a VBA code that searches in a general drawing all lines that have a specific length and slope. Then, every time it finds that line in the drawing, it will write next to a specific text, for example "line". Do you think it's possibile? Any idea? Thanks
  3. I need a lisp to move several blocks until they hit in a line or polyline. This line or polyline work like a boundary. Every bloks will end in the same X or Y axis. See result in a attached image. Thanks
  4. Hello everybody I do drawings that have to have call outs. However, sometimes the call out line crosses with lines of the drawing so every call out line has to have an offset of .025, this way, the line only touches the item im calling. Currently, I do an outside offset on the line both ways, then I use trim and cut everything inside. Sometimes my figures have up to 50 call outs and I have to do this process that is very time consuming. Is there a way I could to this faster? I thought maybe i could put a blank line below my callout line, that had the width of the offset. Or maybe two blank rectangles that had the space of the line between them. I'm new in AutoCad and I'm having some trouble trying to solve this. Note. I copy and paste my drawings to word with paste special Picture (Windows Metafile) so it has to look the same as autocad. Example. Last picture is the result I need.
  5. Hi, I was wondering if i could use two commands, line and dimlinear, in a single lisp file. this one i have measures a line you set with two points and creates a line that is a 1/3 in length of the distance between the two points. I want to add dimension line that will be 500 units above the created line. Any help would be very much appreciated. Thank you in advance. (defun c:aa () (setq po1 (getpoint "Pick first point:") po2 (getpoint po1 "Pick second point:") le (/ (distance po1 po2) 3) po3 (polar po1 (angle po1 po2) le)) (entmake (list '(0 . "LINE") (cons 10 po1) (cons 11 po3))) )
  6. Dear All, Do you have any idea how can I convert this type of spline to a "normal" line? I think I get it from Inventor or Mechanical... I cant explode or extend, or add chamfer. Totaly useless! Please help if you can! Thank You! T line.dwg
  7. Is there a command or a LISP (I have checked out LEE's but to no avail from what I found) that I can run say that will allow me to select text and then select a line and it be parallel with it? I know the command TEXT ALIGN but this doens't do what I am looking for, that, or I just don't know how to properly run the command? Any who, as always, thank you for any and all input. Miller
  8. What is nearest as object snap mode and where it will be useful to use it?
  9. I really need a lisp to find the ends of the lines then offset from those ends by [.25] and insert a solid "donut" at the ends of a line or multiple lines. I have the donut lisp we are currently using as well as another lisp I found on the web that is verrrrrry close to what I am needing. See below for the lisp and pics of what the current code does and what I am looking for. THANKS IN ADVANCE to everyone in the forums, your help is greatly appreciated! Here is the Solid Donut command I use. We call them bb's. (defun c:bb () (command "donut" "0" ".0670")(PRINC)) Here is the lisp I found that is sort of close. Courtesy of KENT1COOPER via AutoDesk Forums: (DEFUN C:CMARK (/ CRAD SS LN) (SETQ CRAD 0.0335) (SETQ SS (SSGET "X" '((0 . "LINE")))) (REPEAT (SSLENGTH SS) (SETQ LN (ENTGET (SSNAME SS 0))) (ENTMAKE (LIST '(0 . "CIRCLE") (ASSOC 10 LN) (CONS 40 CRAD) ) ) (ENTMAKE (LIST '(0 . "CIRCLE") (CONS 10 (CDR (ASSOC 11 LN))) (CONS 40 CRAD) ) ) (SSDEL (SSNAME SS 0) SS) ) ) current routine: new routine: (what I would like to try and get it to do)
  10. I have a number of large files that have multiple layers with many simple objects. I wish to have a LISP program that searches the file and for certain layers, it looks for line and arcs that have the same start or end points I.E. a line has one end point that matches an arc or another line start point. Once it has found these, it converts the lines or arc into polylines and joins them together. I have a number of squares or rectangles that are constructed from simple lines and I want to end up with a closed polyline that is the same size as the original rectangle. This could also be an odd shape comprised of arcs and lines that is either open of a closed shape. I wont to convert these to polylines also (either open or closed depending on if the lines are enclosed or open). Can anyone suggest how to write this. I have very little experience of LISP.
  11. Hi very new to Autocad here - I've just downloaded Autocad onto my laptop, but my laptops number keys don't work so I am using my online keyboard viewer for numbers. When drawing in Autocad and putting in dimensions, is it possible to do it with an online keyboard? Because everytime I want to type in a number in the command section, I have to move my arrow to the on screen keyboard and select the numbers and this makes the line move aswell. Any suggestions??
  12. Hi all, I thought there might be an intuitive/simple way to do this. I've tried the lisp routine SSX, BUT when you run the routine you can't "keep" the selection to use the PEDIT command. Is there something I'm missing here?
  13. To find out the length of things in CAD I just use my line command and a distance box would appear above the line but no longer does. does anyone know how to get it back?
  14. sandiegophil

    table default style

    Hello, I am having issues finding the location to set the default table style for a line/curve table. Any help is appreciated! thanks, phil
  15. 03-26-2016 04:58 PM Hello, I'm doing a project for school and here are the starting directions: "The point of beginning (POB) of this survey is measured from BM#8332. This benchmark is located at the northeast corner of the intersection of SW Washington Street and SW Oleson Road. The coordinates for the benchmark are 1421334.93,783207.62. The first point in the survey for Oleson Village (the POB) is 113.66 feet from the benchmark and at a bearing of N5‹2723W. Note the general location of these points in Figure 2." So here's my issue. I'm trying to draw a line from the benchmark of "1421334.93,783207.62", but the line won't stick to that first point. If I start a line at 1,1, it will stick. If I start a line at 1000,1000, it will stick. Even if I knock off the last digit of each number before the decimal point "142133.93,78320.62", it will stick. Why is this? My limits are set to 2000000,2000000. I'm lost. This is scary becasue I havn't even started the project yet and I've spent 2 hours trying to figure this out. Any help would be much appreciated! Thanks in advance. PS. I attached the project. R, James Final Project.pdf
  16. Hi, I was wondering if someone could help me out with the attached lisp file. My company likes to show the storm drain in our base with 4 different lines. One line for the centerline with a global width of zero with linetype continuous that would be on layer A, a polyline for the centerline with a global width of whatever size the pipe is with dashed2 linetype on layer B. The other two lines will offset half the distance of the pipe size from the centerline and will be continuous on layer B. The way the lisp currently works is it Converts selection set of Lines, Polylines, LWPolylines, and Arcs to sets of triple parallel polylines. Outer polylines have zero width and CONTINUOUS line type, while inner polyline uses Dashed2 linetype with user-selected width. I would like it for it does not change the original line i drew but instead copies and changes it to whatever my current layer is and offset it half the size of the pipe to both sides and than changes it to to a polyline with the global width of the pipe size and dashed2. I would appreciate any help. strmpipe.lsp
  17. how do i do this?

    Convert Lines to Polylines

    Hi all, was just wondering how to convert a bunch of lines into one continuous polyline?
  18. How can i underline a single-line text in AutoCAD 2014?
  19. I'm trying to add doors where currently there are just lines for walls. Right now I'm doing that by drawing intersecting lines to use as reference points, using the trim feature to cut where I want the door, then draw the door and delete the reference lines. It's pretty time consuming, so I'm hoping there's a way I can just select two points on the line and switch the layer between those two points, leaving the rest of the wall in the original layer. Does anyone know of a way to do this, or have any other way to make this task go a little faster? Thanks in advance for any helpful replies.
  20. Hi everybody, I've been reading tutorials about entering surveyor data, but still there is something I don't get it. Let's say I want to draw this scan in autocad (I already know how to enter relative xy/polar coordinates). I guess I should start the polyline at point named 1 and then enter @134.09 Segment 1-2 is visible less than 90º north, but even if I draw a visual aproximation angle for 1-2 to start de drawing, how would I then add the second segment 2-3 with the new bearing respect 1-2? How would I get a true to scan polygone? I will be gratefull of there is any explanation/example. Thanks. Paul
  21. Hi, I want to draw a line on an angle from a known start point at a known length to a known finished plane (but not a known finish point or angle). Hopefully the attached pdf explains it better than I have here. I have turned on OSNAP to get the start point of my line then turned it off again to enable me to select the end point of my line without it snapping to the end or midpoint while it shows the length of my line on screen but this isn't completely accurate. Any ideas would be greatly appreciated? AutoCAD Line Drawing question.pdf
  22. I use Autocad 2010 for Arechitectural applications and have a very basic question. Once I have drawn a line & I want to split it into smaller parts, how do I do it?
  23. I have a drawing with a parcel. I want one of the lines to be straight across with no angle. On the older version of cadd I was able to align a view port to a line. Is there a way to do this with Civil 3D 2015? If so, how would I go about do this? Or does anyone know of a trick they use to achieve this? Any and all reply's is greatly appreciated! Thanks! Miller
  24. Hi, i have a little problem with cad... How can i extend line to the surface? Is there any chance to do this? I tried to do this but everything is pointless... Thanks for help e: Ofc line intersects the plane
  25. I've got an idea for an autolisp routine. I'd like to select text or mtext objects with bearing and distance (in metric units of course) and generate a paste_clip that I can paste into. i.e.: I click on a text that has 12%%d01'10" as its text content. I click on a text that has 10.01 as its text content. repeat for other segments I press on c or esc to end the input. I get a "nice" paste_clip on my mouse cursor where I specify the insertion point (The first line segment being 12°01'10" orientation and 10.01 for its length.) Being a novice autolisp programmer, can somebody point me in the right direction please? I have some experience with outputting text, lines and points but this is a bit tougher. A polyline would be nicer to have but I don't mind a series of lines too at this stage.