Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/29/2025 in all areas

  1. Ahh this is perfect, and most perfectly You sir are a Legend
    1 point
  2. Here is a quick and dirty example, using a data entry helper function. Some other ways to do the same thing also shown (remmed out) in code. (defun C:LineMPL (/ MP P1 P2 OldOsnap) ; Draw line based on centre point and length ; KJM - Jan 2025 ; Uses custom functions: ; getdata ; Get inputs ; Midpoint (setq MP (getpoint "\nSelect line midpoint...")) ; Length with pre-set default (if (and...
    1 point
  3. @Sharper Here is a fairly simple one that gives you the option to enter a length, or select an endpoint of the line to make the distance. (defun c:MIDLINE (/ an ln mp p2) (if (and (setq mp (getpoint "\nSelect a point for the Middle of the Line: ")) (or (setq ln (getdist "\nEnter the length of the line or <Enter to select Endpoint>: ")) (setq p2 (getpoint mp "\nSelect an Endpoint for the line:...
    1 point
  4. Maybe you didn't call the function correctly. The correct way to call the function could be: (descargaWEBarch "https://www.webco.net/..." "c:\\image.jpg") because the image to download from that URL is .jpg, of course But remember that you must have write permissions on the destination directory. As I said, the ideal way to avoid this is to select the 'Documents'...
    1 point
  5. Hi EIA. I'm sure there's someone who can explain it better than me. But I'll try: The code '0' is associated with the object type. Therefore, if '(cdr (assoc 0 en))' returns 'ATTRIB', it means that the object being analyzed is an attribute. In the database, blocks are always stored in this way: first the main container entity, then the entities that compose it up to an object type 'ENDBLK' that...
    1 point
  6. The final check can be done with the 'guardar' function. This function is only executed if the file has been downloaded successfully. I have slightly modified the code to display a message in this case. However, Saxlle's option may be interesting. (defun descargaWEBarch (URL archLocal / arch flujo objHTTP guardar) (defun guardar (idArchivo archDestino / arch flujo) (if (setq arch...
    1 point
  7. That's great I was looking for a way to relate segments based on collinearity (equations of the line) and the distance between the ends. But your solution is much easier and more practical. Also, you have revealed to me a quality of the 'boundary' command that I didn't know about.
    1 point
  8. I've now updated this program and added it to my site here.
    1 point
  9. Very nice @marko_ribar. @maahee there is rules about stairs re rise and run. A better approach is to pick start point ground floor and end point 1st floor then work out the rise and runs.
    1 point
  10. You have my 3dstairs posted here... https://www.cadtutor.net/forum/topic/31704-stairs-software/page/2/#comment-455078 Look at the *.zip file attached within post... HTH. M.R.
    1 point
  11. If you don't understand the code ask, most people will add explanations line by line. Explaining what is going on. Big list of VLA functions attached then just google what your maybe trying to understand. Sorry no author name in the Autolisp functions. The_Visual_LISP_Developers_Bible.pdf Books such as by Reonaldo Togeros, can get on Kindle as Ebook nice thing is can copy and...
    1 point
×
×
  • Create New...