Search the Community
Showing results for tags 'pline'.
-
PLINETOOLS and BLOCK routines and MAKE PATTERN (pat) files for ACAD
marko_ribar posted a file in Programs and Scripts
-
Polyline between last and next first point
Tanookh Momin posted a topic in AutoLISP, Visual LISP & DCL
Hello everyone. I created this lisp with the help of chatgpt I need your help to complete this. I've attached a CAD file for your reference as what I'm looking for. I have some idea in my mind but I don't know how to execute that. 1. required distance between last...- 3 replies
-
- last point
- next point
-
(and 2 more)
Tagged with:
-
Hi All, I am trying to draw a pline by connecting all the vertices of the mline. Below is my code, but it gives an error saying; error: bad argument type: fixnump: (vl-load-com) (defun c:hl_mltopline () (setq mspace (vla-get-modelSpace (vla-get-activeDocument (vlax-g...
-
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...
-
Hi, I have just started using autocad two weeks ago and I'm trying to make my first script file, a joined, closed polyline that is a rectangle. The code is below: _pline -15000,0 15000,0 15000,-1000 -15000,-1000 c (there is a space after the 'c' and a return after the line) When I run,...
- 7 replies
-
- pline command
- pline
-
(and 1 more)
Tagged with:
-
Running Pline then executing a custom command in same lisp! Help!
tmelancon posted a topic in AutoLISP, Visual LISP & DCL
I have written a little small command to run revision cloud on last object (i.e. rectangle, pline, circle...etc) and it works fine but I was trying to figure out a way to run that custom command after drawing my rectangle or pline. Instead of having to type the shortcut immediately after, every time... -
Strange issue; didn't see any other like it in the forum and similar found online didn't have any fixes that worked here. Colleague has AutoCAD 2015 for Mac OSX 10.8.5 (*I know, I know...WHY??) Trying to draw a Pline. We get the + sign when choosing starting point, then nothing as you stret...
-
Way to change all Splines to Polylines automatically?
Precision posted a topic in AutoCAD 2D Drafting, Object Properties & Interface
Hi all, I'm familiar with the pedit command to turn a spline into a polyline, but I'm wondering if there's a way to change all Splines to Polylines automatically to save a hell of a lot of time. I've tried loading "Spline-to-Pline" LISP file, It's pretty shocking for keeping a reasonable tol... -
Trim Pline with Global width in angular fashion
bababarghi posted a topic in AutoCAD 2D Drafting, Object Properties & Interface
Imagine the magenta vertical line is a poly-line with a preset global width assigned to it already. Is it possible to achieve what is depicted in following screenshots? From this: To this? -
Make a loop return the result for each time its body is obeyed
dak posted a topic in AutoLISP, Visual LISP & DCL
Hi everyone, Just trying to pass a list of points to a "pline" command. The problem is num of points is initially unknown, though being calculated within a routine. The following code (as smth to start with) evolves known num of points. (defun c:pltest6 () (setq pts (list '(0 0) '(0 10) '(1... -
Hello all, Somewhat new at using lisp for a very specific function. Here's the issue, I have a lisp routine that needs to save a layerstate, set a specif ic layer current, lock the others, then run the poly line command, exit the pline command, then reset back to the original layer state after...
-
filtering out identical plines from a list
jeremyearle5 posted a topic in AutoLISP, Visual LISP & DCL
I'm trying to filter out plines that are duplicates of each other from a list. I've been trying to compare 1 point in the first pline against the list of points from the other plines. They will only share a point if they are identical for this use. I've been trying to work this out on my own but... -
How to get start and end point of a single line pline
jeremyearle5 posted a topic in AutoLISP, Visual LISP & DCL
I need to know how to get the start and end points of a polyline. I'm a rookie at this and just learned how to pull out the start and endpoints of a line and when I went to do it to a polyline I was completely lost. Another question: I use a comand that takes a line and turns it into a perfora... -
howdy, I found this code: (defun c:ppav () (vl-load-com) (setq *model-space* (vla-get-modelspace (vla-get-activedocument (vlax-get-acad-object)))) (setq obj (vlax-ename->vla-object (car (entsel)))) (setq c (vlax-get obj "Coordinates") i 0) (repeat (/ (length c) 2) (setq x (nth...
-
Hello, I am looking for a lisp that would add a block (ex. arrow) to the each endpoint of a pline and align it with that pline. Any ideas? Thank you in advance.
-
Hi everyone! I'm kinda new in this LISP world and I'm having some trouble on this project of mine. Here we go: I need a LISP to draw a PLINE and create a text with the PLINE's area. The area is always different and I don't have the points to draw the PLINE, so I have to draw it with the mo...