Jump to content

xxfaxx

Members
  • Content count

    33
  • Joined

  • Last visited

Community Reputation

10 Good

About xxfaxx

  • Rank
    Apprentice

My Work

  • Discipline
    Architectural

My Software

  • Main CAD Product
    AutoCAD
  • Current Product Version
    2016
  • First AutoCAD Version
    AutoCAD 2009
  1. Thanks Bigal Your comment let my find what i was looking for The routine i found (i first found it here but the code was copied wrong, and then i found it in the swamp) is called "psimple", in its version 1.7 which lets you select multiple objects, and it was made by Charles Alan Butler Sometimes i can not find the stuff i need because of the title of the search. When you said "replacing two arcs", i started looking for something about that and "psimple" came up in the search Thanks guys
  2. Inside the drawing i attached, in the point 5 I mention that I used overkill. I forgot to mention which options i checked. I used the same ones you used, but when i use it only some polylines get "cleaned"
  3. Sure thing I am attaching a sample drawing and the two lisp routines that i use. I explained it the best i could inside the drawing I want to make clear that i did not write these routines and all credit goes to their coders ----Kent Cooper and others for the pldiet routine----Stefan for the "enclosed polylines" routine--both of these routines can be found online test.dwg Enclosed polylines.LSP PLDiet.lsp
  4. Thanks tombu, but i already used overkill. Overkill works sometimes and in about 50% of my polylines (on the ones with the extra vertices in curved segments). when it does not work, overkill just deletes one of those curved segments. when it does work, everything is fine. The problem is that some polylines are backwards (their direction) . I dont know if that is the right term. backwards How do i know that? Because those polylines that overkill do not fix, i explode them, and then i join their arcs, but i have to join them from one direction in particular (left to right, or right to left, or up to down or viceversa, the direction changes), because if i dont join them that way, then, the arcs form a complete circle and i guess that is where overkill does not work, when the joined arcs form a circle.
  5. that is a good idea, but the task would be too tedious since i have to do it several hundred times, and not only that, i would have to "find" the polygons among thousands of them (most of them do not have extra vertices). that is why i use the pldiet routine. when i use it i just select all my elements and my extra vertices go away, except with the curved segments in some polylines.
  6. Hello everyone I was wondering if there is a way or a lisp command that reduces vertices of curved polylines. When i say a "curved polyline" i mean a polyline that has two segments that are arcs with the same radius, and if i explode that polyline and join it again, those two or more segments/arcs, just become one. I have used that "pldiet" lisp before but it only works with straight segments.
  7. is there a way to generate the boundaries just selecting the elements without clicking inside anything???
  8. xxfaxx

    Survey: One file vs multiple files (x-refs)

    i use #1 when i am doing the work alone and #2 when i am working with colleages. I believe that layer management is your best tool. But as you said, sometimes it becomes too much. I have had some projects (small ones, of lets say, a three level house) with over 300 layers and over 20 layer states for the different sheets. rkmcswain is right though, it is too dangerous to have all your information into one file for it to be corrupted with enough bad luck. I have had also some projects using xrefs (a five level little building eg.) , and the only downside i got (after some years) was that when i needed to see them(the plans) , since they were moved, they were not referenced anymore, and sometimes you are in such a hurry that you can not reference them again. I know we can use the "bind" or the "etransmit" commands but sometimes i just dont do it. In my experience, at least where i am from, not too many people knows autocad advanced enough to use layer states and/or xrefs, and that is a huge headache because i have to make my drawings "simplier" I would really like that autodesk added some kind of command that generates automatic names for layers, for example, when you create a folder for a new group of layers, when you create a new layer in that folder, it would be better if the new layer has the name of the group and a number next to it, or something like that. Im just telling an idea that needs more thinking.
  9. xxfaxx

    Area split equal.

    thanks EFL i will try that
  10. thanks for the tips hanhphuc And about the vba macro, we already have a vba macro that does what i am trying to do in .lsp format. BUT, i believe in lisp format it can be enhanced much further. Or perhaps i should give vba macro a chance. I dont know. as i said i am learning and i chose to learn autolisp first and then vba. i will try some codes again as soon as i get a little break from work (perhaps next week). The first code i will try will be the one you typed Why do i need the excel file opened and why dont we use dataextraction? because we do this extraction job THOUSANDS of times per month and dataextraction doesn´t give us what we really need A little automatization (a little more than the one we have from our vba macro) could help us get the job done faster and with no error Thank you again i will post my results when i get them
  11. thanks Bigal. Im gonna have another look to that Getexel.lsp and see if i can get something useful for my cause from it
  12. xxfaxx

    Area split equal.

    thank you very much for the updated version it works way faster and has much more precision. there is a little problem though. The lisp deactivates my snap points. Other than that it works great. I am trying to learn how to write lisps and i will study yours as i studied other lisps from mac lee, fixo and other coders. Thank you again
  13. no one?? Well, if i come up with a solution (hopefully before 2019) i will post it here
  14. yeah that seemed to work. Well kind of at least. Making a block out of all our polygons is a good solution, and the geometric centers are correct as long as the polygons are a single (or multiple) block. I just told a colleage this possible solution and she seemed to like it. It is easy and fast and it does not give us any possibility of making any further mistakes in the drawing. I did not move anything or insert anything to any drawing. I just converted the polygons to a single block (with its base point in the middle of the group of polygons) and voila! it is fixed (kind of) Thanks Irm, i couldn´t have thought of it alone
  15. Hey guys Snapbase did not work neither. The dxf trick did not quite make it. When i save it in dxf (at least it happens to me) only some polygons get their geometric center fixed. It is weird. Moving objects is not a solution for us because that could lead to more unwanted problems (we are 13 people and some do not really know how to fully use autocad, i mean, i know moving objects is not a big deal, but we use thousands of dimensions, and when people move objects they move dimensions too, by mistake ofcourse, and that is a big deal for us) We use an add-in that helps us get the geometric center. It is a little slower but it gets the work done.
×