Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. There has to some consistency in what's being sorted. Will there always be just one attribute?
  3. SLW210

    Need better multiline

    There are several LISPs and programs around for cable trays. @Tharwat has a program. Cable tray program | Tharwat Al Choufi Here's a thread on T-Connections... Draw cable tray T connection - AutoLISP, Visual LISP & DCL - AutoCAD Forums
  4. No time for me to look at your blocks, but have you looked into constraints? I have some dynamic block with lots of actions and even constrained if you do things in a weird order they can get a little off. So make sure length is set before the flip action. Probably could constrain them more or different. I don't know. I'll see what time I have today, but I am at work for a shorter time today than usual.
  5. well I hoped for this lisp to work with any blocks with attributes. here are the same b locks Im using. example [2].dwg
  6. AutoCAD gets strange sometimes when objects get far away from 0,0,0. That's all I can come up with.
  7. TCOUNT Express Tool. There used to be quite a few LISPs and Programs around to do that, you'll need to find one that suits your needs best. I use Lee Mac's from time to time. AutoCAD Mechanical has Balloon which works with a BOM and all sorts of options.
  8. Today
  9. My code only gives that error if there are letters in the ATTRIBUTE, works no errors on the drawing you posted. Maybe you should post an actual drawing that you are using this on. Even the images you posted are different by a lot from the drawing you posted.
  10. Is this what you're looking for ? DynBlock101_modified.dwg
  11. @devitgcode acts weird. It asks me to type distance,and when I do it places only one block and asks for distance again to pace another block, and on and on.
  12. This is a good video that explains lisp and how to do autocount block
  13. You may consider using this tool, which enables viewport panning with a customizable layer interface, retains coordinate memory, and functions even when the viewport is locked. I hope this helps you: https://lispautocad.gumroad.com/l/bgesj
  14. If your original drawing has saved Layer States, you can: - Open the original drawing. - Go to Layer Properties Manager → click Layer States Manager. - Export the layer state. - In the new drawing, import that layer state and apply it to the viewport. This preserves layer visibility, color, linetype...
  15. Yesterday
  16. motee-z

    strange behavior of 3dface

    where are experts of autocad no answer since five days
  17. I agree with separating the constituent parts . have broken the assembly into separate dynamic blocks so that the central trusses, roof tracking , edge beams and ridge units are separate dynamics . I have run into a few issues that I have uploaded as a new thread . ive tried running the lisp above but struggling to see how I can use this to add data to the lookup tables??
  18. I have developed the attached dynamic block which positions nested blocks according to the distance value set in a block properties table. To avoid text mirroring of the nested block labels I have used attributes and added a flip action. This all works well until I try and change the length after a flip. It appears the xpos value in the block properties table is applied as positive despite the flip state. I have tried changing the point parameters to stretch parameters but have similar problems, especially when rotating the assembly to different angles. I was hoping something as simple as adding a formulae into the block properties table ie dist*flipstate would work but there doesn't seem to be anyway to do this. Is there a way to solve this? jam3.dwg
  19. @HypnoS Find attached cpy-blk-2-poly-01.lsp
  20. Should have known.... LeeMac
  21. Not sure how to even frame the question... Given a block like this: If it is inserted and is the first instance, change the text to 01, each additional insert will be numbered based upon the total number of that particular block being inserted. Can the text be text/mtext or would it have to be an attribute? I suppose it would search the block table when it is run and number additional inserts based upon the total existing in the drawing at the time of the insert. Has anyone seen such a routing/proggie that does that? If I used diesel (or other) could the numbers update automatically if one is deleted either by regen or some other trigger? Based upon their order within the blocktable? I do not even know how to search on something like this... Since I figured something would have to be written, I asked here but other forums might know of solutions..
  22. HypnoS

    Need better multiline

    Overall, Lisp works as expected. I mainly use it to draw simple cable trays. I know that creating things like T-junctions and branches will be impossible, so I'm not even asking for that. Width range we use between 50-500mm most often 100mm and 200mm.
  23. You should first ask at that thread in your link and let the author of that code amend it.
  24. I'll look into that, I might have posted the wrong one. I was working on one to just use the block clicked assuming a single attribute.
  25. SLW210

    Need better multiline

    It seems non productive to not get a FREE program to do what you need. Maybe I'll have time later today to look at them, I have these LISPs from a while back, though I may have skipped some versions. So just to make any time spent on this worthwhile, what exactly are you looking to do and what, besides the error and select elbow from dropdown, that you mentioned? What standards do you use? What size ranges do you work with? Are you doing pipe, ducts, cable trays, etc.
  26. Lee Mac

    acet-laytrans

    Use double-backslashes.
  27. hello i have problem loading acet-laytrans from scr file. (acet-laytrans "C:\Users\Utente\Dropbox\Lavoro\backup\AUTOCAD\Template\mauro\MOD.las" [1]) The specified file could not be found.; error: ADS request error why?
  28. Steven P

    Entmake Fields

    Weirdly for this one, I didn't check Lee Mac, I usually do. I did look at Taborder, but likely that the title blocks will be updated in the near future, tab order might change so this way was a bit future proofing (fewer later changes). Thanks for LISPs, I'll take a look at them this morning
  1. Load more activity
×
×
  • Create New...