AutoCAD 2013 :: Vertex Removal Lisp

Oct 4, 2013

I don't suppose there exists a lisp or method other than PEDIT that would automatically delete vertices that are unnecessary. I have a set of plans that seem to have been drawn...interestingly.

A lot of polylines have these seemingly arbitrary vertices that break up longer straight lines.

Ideally I'd like something that would compare Vertex A, B and C, if they all share an X or a Y, remove Vertex B (assuming that A, B and C are sequential vertices on one Polyline) - perhaps with a way of adding an adjustable tolerance.

View 5 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Fillet Pline Vertex

Aug 8, 2012

I have this code to make fillet to a polyline, but the command does not allow specify fillet radius. How I can change the routine?
 
(defun C:filletv ( / ent ) (setvar "FILLETRAD" 2.500) (if (setq ent (entsel "
Select element near vertex: ")) (command "_fillet" "_P" ent) ) (princ) )

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Raise Or Lower Z Value At Any Vertex

Aug 23, 2012

I am using acad 2010. I have the ability to draw a 3d polyline on the screen with a different xyz value for each vertex using a digitizing puck. I need a lisp routine that will allow me to adjust the z value only (not the x and y values) on any 3d polyline. I just need to raise or lower the z value at any vertex and repeat if nessasary but I don't want to type it in, I want to raise/lower the z using digitizing puck (with z wheel)....example: I draw a 3d polyline which has 9 vertices with different elevations - vertex #6 is 22.6 (too high) in the z value so I need to drop it to 22.4 without typing it in. Vertex #8 is 12.2 (too low) so I need to raise the z to 12.6 without typing it in and using the z wheel on my digitizing puck. Others have tried and but this is a bit complicated and I may have not expressed it correctly.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select All 3D Polylines With Same Vertex Z Values

Jun 17, 2012

I need to wright a routine in autolisp that selects all 3Dpolylines with the same vertex Z value.Qselect as no transparent mode and filter doesn't work.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Pline Vertex In Wrong Layer?

Sep 21, 1999

I have been having a few 3dpline's with the last vertex being in a different layer. I saw a site mention that this is an AutoCAD 14 bug that could be caused if a program does not end the pline with the layer being set properly before doing a seqend command. If I move the entity to another layer and then back to the correct one it will fix it. Audit in R14 will not show any errors. If I export the file to AutoCAD 12 , audit will detect and fix the problem. I would like to find a Lisp, ARX, etc. that would check for this problem and fix, change color or layer, or whatever.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Adding / Removing Vertex To Several Plines At Once

Feb 27, 2012

I'm looking for something that, after selecting several plines (overlaped or not), I can insert/remove vertexes.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Delete Vertex From 3D Pline Without Making New Entity?

Dec 6, 2007

I have a program that makes 3d polylines from various data. That 3d pline then gets added to a civil 3d surface as a breakline. I want to modify the pline with my program, but preserve the handle, as I think that is what C3D uses to decide if its part of the surface. I tried this as a sample with no luck:

;DELETE 3RD VERTEXT FROM 3D PLINE
(DEFUN C:T3 ( / EN ENAME ENT ENTL)
;GET 3D PLINE
(SETQ ENT (ENTSEL "
Select 3D Pline:")

[Code] .....

I know you can modify a vertex, but what about add and delete with entmake and entmod? I also considered using activex for this task, but you can only add verticies from what I could tell in the object browser of VBA, not delete them.

What I will be doing is deleting all the verticies and adding back the correct ones. Or if there was a way to transfer a handle to a new entity after deleting the old, that would suffice too.

View 9 Replies View Related

AutoCAD 2013 :: Polyline Vertex To Arc

Sep 25, 2013

I have imported a dwg witch was created by Revit. The problem is that it creates polyline vertex for curves. But i want a arc, or at least not so many segments.

on the image; on the left is what i got, on the right is what i want.

View 3 Replies View Related

AutoCAD 2013 :: Adding Vertex To Hatch

Dec 4, 2012

In AutoCAD 2010 I could just click between the grips and it would automatically add the vertex. Now in 2013 I have to hover over the spot between the grips. Is there a way to change that so the default on the center grip is set to add a vertex instead of stretch?

View 5 Replies View Related

AutoCAD 2013 :: File Removal Of Beta Programs

Jun 3, 2013

I have just a general question regarding "File Removal" of the Beta Programs.

In the past there would have been a "File Removal" app to go with the beta's after the expiration however there was no app this year, (our expiration was  May 31st). any associated problems with removing the beta's "Manually" this year?

View 3 Replies View Related

3ds Max :: Insert Vertex Crashes 2013 Student Edition?

Mar 6, 2014

I'm currently working on a design in 3ds Max 2013 Student Edition.  When I first found out about 3d modelling, the creativity peaked my interest greatly and since Mesh became available in Second Life and Inworldz, I have since been self teaching myself from Max tutorials.
 
2 years ago approximately, I downloaded the 3ds Max 2013 from the Autodesk site and upon installing it, the program crashed at 96% faithfully everytime.  When I asked how to resolve this, I was told to download the trial version and put the code to authenticate the software, it then went from 30 day trial to student edition.
 
I have since been using 3ds Max 2013 updating the FBX converter to work with Second Life and Inworldz making low poly designs.
 
Now my current design has 3587 polys and 6,239 vertices, when I move close to my design and select edge, then insert vertex, 3ds Max says it encountered an error and gives me the option to save my scene or cancel to close Max.  100% of the time, if I say save scene, my scene is automatically corrupt and I have to go to a previous save.
 
No I am not entitled to install the PU's (Patch Updates) since its a student edition and I don't have the money to purchase 3ds Max 2013.  

View 9 Replies View Related

Maya :: 2012 And 2013 Merge Vertex Tools Not Working?

Mar 5, 2013

I'm having problem with this tool in maya 2012 it doesn't connect or do the red mark between 2 vertices but in maya 2013 it does the red mark between them but doesn't connect

View 1 Replies View Related

Maya :: 2012 / 2013 Merge Vertex Tool Not Working?

Mar 5, 2013

I'm having problem with this tool in maya 2012 it doesn't connect or do the red mark between 2 vertices but in maya 2013 it does the red mark between them but doesn't connect

View 1 Replies View Related

3ds Max :: Create A Vertex In-between 2 Vertex?

Jun 7, 2013

Is there a way to create a vertex inbetween 2 vertex evenly? Just like the divide command in a spline?

View 2 Replies View Related

AutoCAD 2013 :: LISP Within A Template?

Oct 31, 2012

if I create a template for the company I work for and its located in a central server,

Then create a LISP file that's is also located on the same central server, can I load that into the template,

So when I update everyone else's machines with the new template, I wouldn't have to load the LISP into everyone's machine as well.

View 1 Replies View Related

AutoCAD 2013 :: Will Not Remember Lisp Folder

Aug 29, 2012

When I select tools>Autolisp>Load Application from the menu, the default folder it shows is a random folder (same one every time) and I have to navigate to where my lisp routines are. In 2012, it opens up directly to my lisp folder. The command it is executing in both circumstances is "appload". Or how to select a default folder?

View 9 Replies View Related

AutoCAD 2013 :: How To Create Lisp Polyline

Nov 5, 2012

i'm looking for polyline lisp. I type PLINE and type Width specify starting width is 0.0 next specify ending width is 90.0 and then i type 200mm for my distance then i choose again the Width to become 0.0 (starting and ending) then choose Arc. How to create lisp polyline?

View 1 Replies View Related

AutoCAD 2013 :: How To Run Lisp By Toggle DCL Menu

Oct 12, 2013

i have toggle dcl , and lisp as an example , who can say that how can i make combination by toggle and define to change lisp ? and of course run to change lisp after my choise from toggle menu

(defun getValues () (setq a1 (get_tile "toggle1") a2 (get_tile "toggle2") a3 (get_tile "toggle3") a4 (get_tile "toggle4") a5 (get_tile "toggle5") (done_dialog 1) ) (defun c:aaa (/ an dcl_id) (setq dcl_id (load_dialog "rc-cap.dcl") ) (if (not (new_dialog "ABC" dcl_id)) (exit) (progn (action_tile "accept" "(getValues)")

[Code] .......

View 1 Replies View Related

AutoCAD 2013 :: Auto Layer Translate LISP

Nov 13, 2013

I am in search of a add on program or a lisp that I can change an architects layers to the layers we use. I know layer translation command is available but every time I have to select what the layers translate to. It would be nice if there was a way to add the new architect layers into a database so when we run the lisp or program the layers will automatically change to our layers we use. 

View 2 Replies View Related

AutoCAD 2013 :: LISP For Placing A Point On Polyline

Feb 16, 2013

i need a lisp routine for a situation like this:

I have a polyline consisting of various point intersections, total length of polyline is around 600m. I want to place a point along this polyline at some distance e.g. 50m.

View 4 Replies View Related

AutoCAD 2013 :: Protect Lisp Functions From Object ARX

Oct 26, 2013

I would like to protect lisp functions from ObjectARX. I am able to protect the functions from LISP command prompt as below.

(pragma '((protect-assign MyFunction)))

I want to do it programmatically using ObjectARX. I have written below code but I am getting error "some other error". 

struct resbuf *cmdlist;
resbuf *rb_out = NULL;
cmdlist = acutBuildList(RTSTR, _T("pragma"),RTSTR, _T("protect-assign"),RTSTR,_T("MyFunction"), 0);
int resval = acedInvoke(cmdlist,&rb_out);
if (RTNORM != resval)
{
acedAlert(_T("Error"));
}
acutRelRb(cmdlist);

View 1 Replies View Related

AutoCAD 2013 :: Auto Layer Translate LISP?

Nov 15, 2013

I am trying to figure out if there is a LISP or autocad add-on to start a library of architectural layers to be translated to our layers. So all I would need to do is hit a toolbar button and the LISP/Program would take a layer from archetects prints that I already added to a database that already knows what layer to change that layer to and so if there are different layers in the CAD drawing I can add them to the database so it will be saved for future layer translations. So once we get the database started I am hoping after awhile I wouldn't have to add any layers since they are already in the database to change the layers too.

View 8 Replies View Related

AutoCAD 2013 :: Lisp Or ObjectDBX To Perform Batch Purge?

Mar 5, 2013

I often use "purge" for current directory drawings. Any lisp or ObjectDBX to perform batch purge? even i do not need to open the drawings.

View 1 Replies View Related

AutoCAD 2013 :: Lisp Routine For Multiple Layout Tabs?

Nov 25, 2013

LISP routine that can create multiple paper space layout tabs and can name them incrementally.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Get Routine To Work In 2013

Oct 16, 2012

I don't do a lot of programming and when I do it is mostly with older lisp commands. I have routine that works in 2010 but we are switching to 2013 and it doesn't work. The routine assigns the area of a polyline to a field. The portion of the routine that isn't working is where it assigns the object id for the polyline. Here is that portion of the routine:

;; select an object
 (if (setq ent (entsel))
   (progn
     (setq ent (car ent))
;; Check to see if object selected is a polyline
     (if (= (cdr (assoc 0 (entget ent))) "LWPOLYLINE")
       (progn
;; obtain the object id from the selected entity
         (setq objID (vla-get-objectid (vlax-ename->vla-object ent)))

View 1 Replies View Related

AutoCAD 2013 :: Create Lisp To Draw Rigid Insulation?

Jun 17, 2013

how to create a lisp to draw the rigid insulation as attached.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: 2013 ENTUPD Not Working

Mar 22, 2013

I upgrading all our lisp routines to 2013. I have a routing that modifies a block attribute. Then ENTMOD returns with the proper information. ENTUPD reurns the same enity name. The block never changes. The same routine woks in 2010.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Reset 2006 Settings Like 2013

Nov 26, 2012

We have a big issue where half our users can't open autocad. We have half running 2013 and half running 2006. For our 2013 users we've gone to our start menu and reset settings to default. and then just re-loaded our custom menus. How can I reset Autocad 2006 to default if I can't open Autocad?

We need to get people up and running.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: 2013 Command Line Output?

Apr 15, 2013

I have an issue with 2013 that I loose command line output; as in no muttering or cmdecho but I do not have anything set to that way. My cmdecho is set to 1, and nomutt is set to 0.

If I opent textscr then I can see the out put, but nothing on the command line.

I have never seen this before but it just started withing the last week or so and it makes debugging a real difficult.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Copy And Rotate Macro Not Working In 2013

Apr 29, 2012

I have a macro that i have been using in autocad 2012 for a simple copy & rotate command as follows

^C^C_select;auto;\_copy;p;;0,0;0,0;_move;p;;\_rotate;p;;\redraw

For some reason it now does not work in 2013 the macro exits after the copy part of the macro is finished & fails to let you rotate the copied object.

View 5 Replies View Related

AutoCAD 2013 :: Adapt Lisp To Allow To Select Multiple Target Blocks To Be Overwritten

Oct 22, 2013

I've found a .lsp that does nearly what I require. The lisp that I've got allows you to identify a block, and have another block replace it.

Is it possible to adapt this lisp to allow you to select multiple target blocks to be overwritten?

(defun c:rblk (/ pre nb ss i en ed) (while (or (not pre) (not (snvalid pre)))
(setq pre (getstring "Existing BLOCKs Name Prefix: "))) (while (not nb) (setq nb (getstring "
New BLOCK Name: "))

[Code] .....

In this particular instance, I'm trying to have multiple different door symbols in a 2D plan overwritten with a uniform marker.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved