Search the Community
Showing results for tags 'random'.
Found 4 results
Random Select objects from selected group lisp.
cupax posted a topic in AutoLISP, Visual LISP & DCLHello, I need a lisp that would randomly select a certain percentage of objects from an user pre-selected group. We are creating shutters, that are randomly perforated - don't want to manually randomly delete hundreds of small circles. I've found a lisp from David Bethel (in this forum's archive: http://www.cadtutor.net/forum/archive/index.php/t-52841.html) which works fine, but it would select between all objects in the drawing, even on frozen layers. The thread is very old so I don't know if Mr. Bethel is still active on this forum. How would I change this lisp, so that it would first promp me to select objects from which it would then randomly select a certain percentage? Thanks, David
Random vertices shift
grouch19 posted a topic in Map 3DHi guys, Bit of a strange request. I'm looking for something that will shift a selection of polygon vertices by a random amount for each vertex. In a perfect world I'd love to set a tolerance of say 5cm and have the vertices move in any x,y direction by random amounts up to 5cm. Any ideas would be appreciated. Cheers Dave
Convert Lines to Polylines
how do i do this? posted a topic in AutoCAD Beginners' AreaHi all, was just wondering how to convert a bunch of lines into one continuous polyline?
Random Hatches Appearing in Paper Space
duckndon posted a topic in AutoCAD Bugs, Error Messages & QuirksDear Fellow DeepCADers, Our office recently upgraded to AutoCAD Civil 3D 2012 from AutoCAD Civil 3D 2010, and I'm experiencing one very annoying issue. When opening drawing files that were made in 2010, we frequently find these 4x20 solid hatches in either magenta or cyan. Sure, we could easily just click and delete them... But what is causing these random hatches to be created? At first I thought maybe Civil 3D was misreading our legends and creating a hatch from them (we usually have hatches in our legends), but in the attached photo you'll see a part of a drawing that had no legend, viewports, or hatches previously still fell to this annoyance. You'll notice the little guy behind the text box... Is there a way we can prevent this from happening in the future? Is there anyone out there who is experiencing the same issue? I've searched forums for an answer, but, as of yet, it seems that my coworkers and I are the only ones who are having this problem. Thanks for your time! Thomas