Jump to content

Leaderboard

Popular Content

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

  1. @leonucadomi @PGia I'm attaching a new version V.3 that can also renumber block attributes. It also includes some other new features. However, I'm letting you know that <Something different> is going on 'holidays' and won't be serving any more requests for a while I'm attaching the description and new features of V.3: - Individual creation/renumbering of TEXTs and MTEXTs based on the cursor position - Multiple renumbering of TEXTs/MTEXTs via selection window (option key 'V') based on proximity to the first corner indicated on the screen of the selection window. That is: if the selection window is from Northwest to Southeast, the renumbering increment will be in order from least to greatest distance from the Northwest corner Added in this version: - Ability to detect and renumber block attributes using the same criteria as 'TEXT' and 'MTEXT' attributes. (Note: This may not work for block attributes with multiple levels of nesting.) - New functionality (by pressing the 'A' key) to change text alignment on the fly. A preview of how it works: SDifferent_V3.mp4 SDifferent_V3.lsp
    3 points
  2. maybe look into LOGFILEON command. You can inspect this file that saves a drawing's command history and Sherlock Holmes your way from there , looking for all script commands and if no path is specified it means findfile must be able to find it and then you can look if another script is called from this scriptfile etc. Not sure why you need this though.
    1 point
  3. https://forums.autodesk.com/t5/civil-3d-customization-forum/alinment-total-length-multiple-alignment-amp-lengthen-total/m-p/13335681#M27177 I think that's you then. https://forums.augi.com/showthread.php?177987-increase-or-decrease-an-alignment-in-civil-3d-2019&p=1357683&viewfull=1#post1357683 Also this one. Like I stated, I do not have Civil 3D, I need to know what type of objects we are dealing with. Your file just shows AEC_Proxy_Object in AutoCAD. I have the .rar from the other thread, but reluctant to do the .dll from the comments of Jeff M and mostly because I can't test it, but I will look at it when I have time. You might also ask on TheSwamp - .NET
    1 point
  4. Yes, when I was writing the post I had the idea to filter based on "something" but that something in every case seems to be the script name, so yeah, my bad, sorry. I did a bit of researching and trying during a weekend but on every try/idea it boiled down to needing a script name on which script can be identified, I even tried capturing terminal output after the script is drag'n'droped, it worked, but it didn't cover the case when the script it's just added to the startup suite, in that case the script is added and will be loaded when next drawing is opened but there's no info about the path or anything because the script isn't loaded even once, for that case it requires to hard code the name into the code and search for the name in the registry. So I guess its not possible to achieve for a script to get info about its path and name using only AutoLISP. For now I probably go with this solution, thanks. I'll continue searching for a solution and I'll post it here if I find one. Thanks all for help!
    1 point
  5. Maybe try StackOverflow or similar and ask. Newest Questions - Stack Overflow You should also ask in the Civil 3D Customization Forum - Autodesk Community When was the last time Civil 3D 2019 had an update? I have found every time Windows updates, I get a few more problems with older programs, though most work, they seem to get quirky. I know nothing of Civil 3D, though I have had to manually do alignments in AutoCAD, I am no expert by any means. So, maybe try to explain what you want in details like you were writing an "Alignments for Dummies" book. If you can, please explain exactly what Civil 3D calls the the last alignment segment. Assuming is not helpful. There are a ton of step-by-step tutorials for using MS Visual Studio, download it and give it a shot.
    1 point
  6. Editing blocks needs a separate function so check is it TEXT, MTEXT or a BLOCK, if a block does it have attributes, to complicate more if it has more than one attribute which one to put the number in ? There are ways around this like pick attribute in a block can get Block name and Tagname. This may be useful makes a block with a number. Pt num bubble.lsp
    1 point
×
×
  • Create New...