Jump to content

Search the Community

Showing results for tags 'closed polyline'.

  • 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...

Found 5 results

  1. Hello everyone. I tried to do it but simply don't have the knowledge to make it. I'm in need of lisp where I select two polylines and the lisp creates closed polyline on current layer, using those selected and leaving them in drawing. Now the trick is on each side the shorter polyline must cut the longer one or connects to longer one using ortho (it's not perpendicular). And another problem is that there are other lines and polylines crossing those two (cross section). See the image for better understanding.
  2. sample_MPoly2.dwg Hi all, I have six polylines, one of them is closed. I need to create vertices on a closed polyline. The sample drawing is attached. The vertex coordinates to be created are the coordinates of first vertex of other polylines. So far I only managed to store the coordinate of starting vertex of one polyline. (vl-load-com) (setq s1 (car (entsel))) (setq pl (vlax-ename->vla-object s1)) (defun vlax-list->2D-point (lst) (if lst (cons (list (car lst) (cadr lst)) (vlax-list->2D-point (cddr lst))))) (setq vertCoord(vlax-list->2D-point (vlax-get pl 'Coordinates))) (setq vertStart (car vertCoord)) Appreciate your help. Thank you
  3. Ok, so this pesky polyline won't give me an area. I found a topic on the Map 3D forum that had a couple of suggestions, but I'm using vanilla AutoCAD 2014. As you can see by the image, the area value for this polyline is missing. I've tried flattening it (as there is a survey attached with 3D points), I've tried AUDIT and PURGE, I've tried closing ACAD and re-opening. EDIT: I can hatch the shape as well - but the hatch has no area given either! Finally, I've verified that it is closed. Nada I can get the area of other polygon shapes, just not one traced off of the 3D points- even after the FLATTEN command. Any ideas?
  4. Hi all, Got what I think is a dumb question I've been scouring for two hours. I use Civil 3D to create photomasks. It involves creating a lot of complex closed polylines that are filled during the conversion process to files such as GDSII. What I'm trying to do is use the Plot function to generate a PDF for someone else to view that has all the closed polylines filled in. I've seen things like Fill,SHADEMODE, etc. but I can't seem to get the objects to fill in the drawing or rendered PDF. I think the easiest thing you can tell me is from scratch, if I draw a RECT in a new .dwg file, how do I use PLOT in order to get a PDF that has the rectangle filled in? Thanks a bunch! Josh EDIT: using Windows Version of Civil 3D Metric 2016
  5. Hi All, We need custom program to extract coordinates from a multiple closed Polyline and the text available within the closed polyline. Sample drawing and required output (CSV file) based on the sample DWG is attached herewith for your clairity. Layer Object text (inside closed LWPolyline) X Y Point Sequence ID GT A-2 777172.4118 1423202.517 1 GT A-2 777218.4799 1423183.83 2 GT A-2 777235.9027 1423204.867 3 GT A-2 777219.6528 1423222.651 4 GT A-2 777218.2661 1423238.164 5 GT A-2 777180.8984 1423247.552 6 GT A-2 777180.8984 1423247.552 7 GT A-1 778285.3887 1423313.596 1 GT A-1 778254.2817 1423276.652 2 GT A-1 778244.7419 1423286.485 3 GT A-1 778176.4636 1423300.62 4 GT A-1 778122.1146 1423273.971 5 GT A-1 778096.5814 1423246.32 6 ... ... ... We have browsed many posts, but couldn't find the one matches with the above requirements. Please help if any LISP or V-LISP or VBA tool available to get it in the above desired form. Thank you so much in advance Sathiya sample.dwg RequiredOutput_sample.csv
  • Create New...