Search the Community
Showing results for tags 'closed polyline'.
Found 4 results
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
dal-designs posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceOk, 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?
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
satreach posted a topic in AutoLISP, Visual LISP & DCLHi 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