Jump to content

Leaderboard

  1. Lee Mac

    Lee Mac

    Trusted Member


    • Points

      10

    • Posts

      20,871


  2. Jonathan Handojo

    Jonathan Handojo

    Community Member


    • Points

      8

    • Posts

      686


  3. CADTutor

    CADTutor

    Administrator


    • Points

      6

    • Posts

      1,455


  4. Debalance

    Debalance

    Community Member


    • Points

      6

    • Posts

      88


Popular Content

Showing content with the highest reputation since 08/19/2018 in Files

  1. Version 1.7.0

    2,756 downloads

    This program will calculate the total length of Lines/Polylines/LWPolylines/Arcs/Ellipses/Circles/Splines with an optional filter. The Filter may be used to select only those lines that are on a certain layer, or perhaps have a certain linetype or colour. The results of the calculation can be displayed in an ACAD Table within the drawing, or written to either a CSV or TXT File. The Table-Style may be selected from the drop-down in the main dialog. Main interface The main dialogue box allows the user to filter lines by layer, linetype or colour and select the table style. Multiple selected items can filtered. A filter string may be entered to help the user quickly find the filter items that he/she requires. Options The options dialogue box allows the user to specify which object types should be included and the type of output, table in the drawing, CSV file or TXT file. Demo Function Syntax: LenCal For instructions on how to run the program see here. Any comments, criticism and suggestions are welcome. Either PM me directly, or reply to the original thread.
    8 points
  2. Version 1.3

    2,221 downloads

    Here I give you guys a program that will either delete duplicate blocks or move them to a user-input layer that could be accidentally placed on top of another. The determination to do such program in place of the OVERKILL command is to remove unwanted dynamic blocks with different visibility parameters, leading to blocks having an "undefined name". This leads to the original OVERKILL command to fail. As such, I introduce you this program that catches all types of blocks (excluding xrefs). Be careful that it delete blocks matching all the criteria below: The blocks in comparison share the same insertion point through a given tolerance. The blocks in comparison share the same effective name. The blocks in comparison share the same effective scale. So if the three criteria above match while the rotation of the blocks differ, it will still be deleted. I've had many occasion on using block counting routines that reports excessive values for this very reason. This routine has helped me fix those nasty errors that would otherwise be almost, if not entirely, impossible to detect with the human eye. As thanks for helping me solve many problems that I've posted in the LISP forum, this is the least I can offer, so I hope it's of some use. More details on this forum. Type BOVERKILL to start command. I welcome all suggestion, feedbacks, comments, and criticisms you have. Feel free to add your ideas, and I will try to improve them. Enjoy.
    4 points
  3. Version 1.3

    1,670 downloads

    Are you someone who likes to get details in your drawings done neatly? Then look no further! Here I present you a program that does just that. This program aligns selected objects to any direction the user wants to align them to. This provides that the objects possess at least one of the following properties: Insertion Point Text Position Text Alignment Position Center Upon issuing the command ATD, the user will be prompted a selection of objects without any filters, which the program will then filter based on the above (and xrefs excluded). The objects to be aligned will then be highlighted, and the user will be prompted a direction relative to the UCS. This can be in one of five ways: Clicking two points to determine direction Typing "X" - to align direction to X axis of UCS. Typing "Y" - to align direction to Y axis of UCS. Typing "PErpendicularToCurve" - the user specifies a point on any curve, and if a curve is detected, aligns perpendicular to the curve at that point. Typing "ALongCurve" - the user specifies a point on any curve, and if a curve is detected, aligns at the direction of the curve at that point Curve detection is compatible within all sorts of complex objects, such as nested blocks (with dynamic properties), xrefs, tables, dimensions, etc. regardless of depth, and fully functional under all UCS. Following this, the user can then specify an optional distance that would be used to align the objects, or choose the "Through" option. This makes up an exactly identical feature to the built-in AutoCAD OFFSET command. If a distance is specified, the user will also be specified a point that will be used to calculate the specified distance away from the point. If "Through" is chosen, the user will then be prompted the point to place the objects. If the distance has been chosen and specified, the user can click on the side that the user wishes to place the objects at that distance from the point. Objects that I've successfully worked with this program include: Tables Blocks OLE/Raster images Dimensions Texts and MTexts (regardless of alignment) Circles This program will work under any UCS settings provided that the objects to be translated lies in the same XY plane as the UCS.
    3 points
  4. Version 4.2.26.0

    2,388 downloads

    TotalBoundary (Pro) is a professional plugin for generating 2D outline drawings of various degrees of complexity with AutoCAD®. The outline drawings it creates are closed polylines marking the boundaries of various types of objects, which can include elementary entities (lines and arcs) as well as complex blocks and curves (ellipses and splines). What sets the TotalBoundary (Pro) utility apart from AutoCAD's built-in tools (such as BOUNDARY, BPOLY) and from other third-party programs is its high productivity and stability, and also the quality of the outlines it generates. The inbuilt algorithm for detecting spacing (gaps) between neighboring objects allows users to create enclosed outline polylines with exceptional accuracy. The program can process tens of thousands of objects extremely efficiently (in a matter of seconds), flawlessly generating highly complex outline polylines in the selected drawings. Key features: The program's powerful engine allows it to build enclosed polylines rapidly along the perimeter of selected drawing fragments. The original drawing needs no advance preparation (removing superfluous unconnected lines, creating an additional enclosed boundary polyline around the original drawing fragment). When the program creates an outline, it automatically identifies and removes gaps in places where primitives meet. The maximum size of these gaps can be set directly by the user. The program replaces splines and ellipses used in defining an outline with true polylines created by means of piecewise linear approximation. The user can also easily set the thickness and color of the polylines the program generates, if required. The program offers an automatic filling (solid hatching) option for the outlines it generates.
    2 points
  5. Version 2.1.26

    4,503 downloads

    AreaTester is a efficient plug-in for AutoCAD. It allows you to quickly measure the area in AutoCAD and gives you advanced capabilities to process the results of the calculations in the further workflow (annotate the the areas in the drawing, convert the received data to different spreadsheet formats, etc.). The plugin calculates not only the areas of enclosed objects, such as a polyline or circle, but also any other shapes formed by the intersection and connection of various types of objects, which include lines, arcs, splines and many other AutoCAD basic objects. At the same time, to calculate the area of any enclosed shape, you only need to point the crosshair of the cursor on it and the area value will be instantly displayed in the context window above the cursor. In addition, the user can create the necessary list of the areas in the main application window for the further workflow. All these areas are summed automatically in the created list. The total result of the summation is displayed at the bottom of the main window of the app. One of the main features of AreaTester, compared to the standard AutoCAD tools, is the ability to determine the area value of any bounded shape excluding the areas formed by objects that have got inside such an shape (the so-called "islands"). This option significantly simplifies the user’s work on calculating areas in AutoCAD, eliminating the need for additional mathematical operations. Key features of the AreaTester for AutoCAD plugin: Automatic calculation of the all areas in a drawing. Annotating the areas directly in a drawing. Drawing boundaries of the shapes in the form of polylines. Exporting the generated list of areas to the clipboard or some convenient data format (* .txt, * .csv). Adding the table of the area list to a drawing. For more information visit the official website of the AreaTester app.
    2 points
  6. Version 1.0.0

    2,154 downloads

    This is a program made by ASMI and modified by Ronso in this thread. This is a genius free LISP Program and can be used in many trades, but has most usefulness in the HVAC, Mechanical, and Piping industries for drawing 2D CAD designs. It allows you to create Duct, Pipe, and Segmented Duct or Piping with automatic elbow or fittings to accurate dimensions via some initial input at the command prompt. The programme in action Function Syntax: DUCT For instructions on how to run the program see here.
    2 points
  7. Version 2.5.27.0

    2,204 downloads

    AutoCAD users often have to deal with the BOUNDARY (BPOLY) command, which allows creating boundaries (mostly enclosed polylines) from existing objects forming an enclosed area around the point specified. Unfortunately, its performance as well as the quality and the accuracy of the boundaries (contours) created when run in complex drawings leaves much to be desired. To eliminate these common drawbacks of the standard BOUNDARY command, a project called "SuperBoundary" was implemented. While BOUNDARY command generates simple contours quite efficiently in relatively simple drawings with a small number of objects on screen, SuperBoundary is intended to provide the user with comfortable workflow in drawings of any complexity. In other words, SuperBoundary is the utility based on the BOUNDARY concept supplemented by super-speed and some super-features. Key features: High performance. A powerful program engine allows analyzing and generating thousands of boundaries in seconds. High accuracy. When generating a boundary, all elements larger than the specified tolerance factor are considered. The possibility to create boundaries in areas having significant gaps between adjacent objects. The possibility to quickly detect and generate all the enclosed areas in the selected drawing or its part. Easy and accurate external outlines generation in complex drawings. Polylines generation from spline- and ellipse-based boundaries using piecewise-linear approximation Flexible adjustment of the boundaries generated. These are width, color and layer. Simple and convenient installation with classic installer. List of commands: _SBND - launch the app in classic mode _SBND_PICK - for quick usage in "pick point" mode _SBND_ALL - for quick usage in "build all" mode _SBND_CONFIG - for export / import current settings data as an external INI file
    2 points
  8. 541 downloads

    Apollonius problem : (PPP, LPP, LLP, LLL, CPP, CLP, CLL, CCP, CCL, CCC) P - point L - line C - circle Routine finds all CIRCLES that touches or passes (point) as tangent curves to combination of (C - circle; L - line; P - point) Relevant page on Wikipedia : https://en.wikipedia.org/wiki/Problem_of_Apollonius And my video demonstrating my routine : https://youtu.be/cuo4M9UGZmA Number of circles demonstrated in video corresponds to Wikipedia table at the end of page... Regards, Marko Ribar, d.i.a. (architect)
    2 points
  9. Version 1.0.0

    1,239 downloads

    This AutoLISP file can be used to measure the total length or area of all polylines on a selected layer. Instructions on how to load and run this file in AutoCAD are given in this thread.
    2 points
  10. Version 1.0.0

    1,181 downloads

    This AutoLISP file can be used to flatten a 3D drawing. It does this by setting all Z values in the drawing to zero. Instructions on how to load and run this file in AutoCAD are given in this thread.
    2 points
  11. Version 1.0.0

    475 downloads

    2D Tree Symbols (Collection 1) The plan tree symbols in this pack are compatible with AutoCAD Release 14 and higher. All drawings are relatively small (25-30KB) and are suitable for use as blocks within AutoCAD. They are ideally suited for Landscape Architecture planting plans. The trees have been drawn with a radius of 1 drawing unit. To insert a tree at the required size, simply enter the required radius as the insert scale factor. The trees are all drawn on layer 0, this means that they will adopt the characteristics of the current layer when they are inserted. It is advisable therefore, to create a new layer before insertion so that you can easily control object properties. In each case, the insert base point is in the centre of the canopy.
    2 points
  12. Version 1.0.0

    1,501 downloads

    2D Tree Symbols (Collection 2) The plan tree symbols in this pack are compatible with AutoCAD Release 14 and higher. All drawings are relatively small (25-30KB) and are suitable for use as blocks within AutoCAD. They are ideally suited for Landscape Architecture planting plans. The trees have been drawn with a radius of 1 drawing unit. To insert a tree at the required size, simply enter the required radius as the insert scale factor. The trees are all drawn on layer 0, this means that they will adopt the characteristics of the current layer when they are inserted. It is advisable therefore, to create a new layer before insertion so that you can easily control object properties. In each case, the insert base point is in the centre of the canopy.
    2 points
  13. Version 1.0.0

    379 downloads

    Hi, it's me again... I've searched my library of codes and run into Gian Paolo Cattaneo's AlignHatch routine, and guess what : I've founded that I've updated it into 4 variants : AlignH.lsp ; AlignHM (multiple) ; AlignB ; AlignBM (multiple) ... AlignB stands for Align Block... So I've decided to share all 4 as I think that they could be useful like Gian explained with his animated *.gif files... Anyway, since it's already public - I mean original version, I've redefined all 4 of them to work and in BricsCAD as BricsCAD don't have (c:cal) function... That's all from me for today... I just hope no one won't bother or be mad at me for posting this beautiful routines at download section... Original link : https://www.cadtutor.net/forum/topic/41902-alignh-align-hatch-on-curved-path Regards, M.R.
    1 point
  14. Version 1.0.0

    473 downloads

    Hi, all It's me again... I'd like to share these 2 routines for linear tree branching... One is for picking start point and branching is performed all to the ends of all linear-curve entities and second one - you enter desired distance and branching is performed from start-picked point to desired lengths... All routines should operate on any type of linear-curve entities : POLYLINE(open), LWPOLYLINE(open), LINE, SPLINE(open), ELLIPSE(arc), ARC, HELIX... https://www.cadtutor.net/forum/topic/75840-trace-specify-length-on-pipe-network/?do=findComment&comment=600231 https://www.cadtutor.net/forum/topic/76008-auto-route-and-show-lenght-all-branch-of-tree-line/?do=findComment&comment=601097 That's all from me till now... Regards and take care, M.R.
    1 point
  15. Version 1.0.0

    2,044 downloads

    Here are 16 variants of TSP*.lsp... First one : TSP-NS.lsp - You use it if you have plenty of time and you want as much better results as possible... But I don't recommend it, as it's too slow... Second one : TSP-NF.lsp - You use it if you need both better results, but you have a time for a lunch, so you still need to wait to finish... Third one : TSP-FN.lsp - Similar to TSP-NF.lsp... Fourth one : TSP-FF.lsp - You use it if you need both better results, but you have a time for a cup of coffee, so you still need to wait to finish... Fifth one : TSP-FFF.lsp - You don't have any time at all and you still need some or any result that has any meaning related to TSP... Sixth one : TSP-FFFF.lsp - Even faster than *-FFF version... Seventh one : TSP-lsp-func.lsp - best of speed/quality... Eighth one : TSP-N.lsp - similar to TSP-NN, or TSP-NF... Ninth one : TSP-MR-2D.lsp - wrapper that uses both power of LISP and ObjectARX... Tenth one : TSP-MR-3D.lsp - wrapper that uses both power of LISP and ObjectARX... Eleventh one : TSP-MR-AROUND-CONCAVE.lsp - very nice little routine to make stars from radially disposition of points... Twelfth one : TSP-ARX-BRX-N.lsp - combined power of LISP and ObjectARX... Thirteenth one : TSP-ARX-BRX-F.lsp - combined power of LISP and ObjectARX... Fourteenth one : TSP-cheapestpath - full power of ObjectARX... Fifteenth one : TSP.lsp - wrapper for grid and rnd disposition - LISP and ObjectARX Sixteenth one : TSP-lsp-func.lsp - previous version of TSP - pure LISP... So I recommend auto loading TSP.lsp, TSP-MR-AROUND-CONCAVE.lsp and TSP-cheapestpath.lsp Big thanks to Daniel from www.theswamp.org for providing *.arx and *.brx files for AutoCAD 2021-2023 and BricsCAD V23... More info and newly added *.arx, *.brx, ... at this link : https://www.theswamp.org/index.php?topic=58049.0 HTH. M.R.
    1 point
  16. Version 1.0.0

    923 downloads

    Multiple Toggles is a library routine that allows you to create as many Toggles of input as required (subject to Autocad limits) using a dialouge rather than the command line. Its use is intended where you want the user to pick one or more values. It can be used where you want to run a number of functions, pick multiple values to be used. It can be used in most lisp code with just a couple of lines of code, compared to a hard coded solution of around 50+ lines repeated every time you want to use a dcl. To use just save the "Multiple Toggles.lsp" to a directory that is included in you Autocad search path. If you need more information how to do this send an email to info@alanh.com.au It only requires 2 lines of code in any lisp to use. (if (not AH:Toggs)(load "Multiple toggles.lsp")) (setq ans (AH:toggs (list "Change blank for yes " "Blocks" "Dimension" "Hatch" "Images" "Viewports" ))) In the example above the variable ans will have the toggle Values 1 or 0 for a toggle clicked on eg ("1" "0" "1" "0" "1") depending on toggle selected. If you want further information or conversion of your code email info@alanh.com.au
    1 point
  17. Version 1.0.0

    201 downloads

    Grid lisp Demo
    1 point
  18. Version 1.0.0

    733 downloads

    This is a simple answer to export a Autocad/Bricscad table to excel, it expects a Title line as 1st line, then data etc . Simply pick the table excel will open and be auto filled, you can save then to what ever name required. Can be used as a library file just (load " Table to excel") as it will run automatically.
    1 point
  19. Version 1.0.0

    477 downloads

    Hi guys, Here I present a program that allows you to perform a mathematical operation between a list of numbers parsed from a string, and a user-input number. This program references two different other LISP authors (Lee Mac with "Parse Numbers" and Alan H with "MultipleToggles.lsp") for their great contribution to the community, and I thought it'd be splendid to see how their programs blossom very well in this program. However, I tweaked both functions slightly in order to suit the needs of this program. Upon invoking the TOP command, the user is prompted for a single object selection. It can be anything that has an editable Text property (except blocks). Using Lee's Parse Numbers, it parses numbers found within that string. These list of numbers are then passed onto the MultipleToggles.lsp dialog by Alan H to prompt for the numbers the user wishes to include for calculation. This process is repeated until the user is satisfied and presses Enter or types "End". The user is then prompted the operation to perform. I've included 7 operations (built-in AutoLISP functions): Add (+), Subtract (-), Multiply (*), Divide (/), Exponential (expt), Minimum (min), and Maximum (max). After the user selects the logical operation to perform, the user is then prompted for a second number associated with this operation. The program will proceed to evaluate every number that is checked and performs the operation. The original object will then be modified with the new result. If you are familiar with how to use AutoLISP and defining functions, you can create your own user-defined functions to perform your own logical operation. For example, you can replace the numbers with another, or round down the numbers to some multiple. I welcome all feedback, criticisms, opinions, and insults that you have and I'll have a look at them. Enjoy.
    1 point
  20. Version 1.0.1

    1,023 downloads

    Thank you for supporting this "HP:BUTTONS.lsp" DCL library. This routine allows you to create DCL with multiple buttons associated to DCL action_tile list on the fly. It creates DCL box with single column x nRows of buttons, 'n' depends on the length of the 'action list' usage: (hp:buttons title lst width ht) title = Name caption on top of DCL - string lst = quoted list or progn list - list width = Width of the dialod box - integer ht = height of each button - integer returns nil or any execution (progn ... ) related to action_tile Save this file into your support folder, append to your startup autoload routine. In order to optimize the user experience, it allows maxinum 15 rows however you can abjust depends on screen size. HP:BUTTONS - v1.0 Free LISP by - hanhphuc email: hanhphuc.diy@outlook.com
    1 point
×
×
  • Create New...