Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. BIGAL

    Smart block - Detail Marker

    If your using a dynamic block you will need to make 4 visibility states with each visibility state having a correct connecting line. I can give you a choose location method, I use BRICSCAD so I will not make a block as it does dynamic blocks slightly different. Ok so need a lisp that you pick a point for block and then visibility is asked for and values. The connecting line will have a anchor point but the block can be moved and the line stretched.
  3. Today
  4. petesperry

    Smart block - Detail Marker

    We use the title block and marker block to highlight details on a Plot File sheet and then to label the corresponding detail on a subsequent page. The problem I want to resolve is how to make the bubble with the detail number and page number in it independent and move separately to the dashed box. Ideally, the detail marker box is adjustable in height and width to suit the size of the detail, and then a line between the two, which will stay fixed to the top corner, although if this could move to any corner that would be good. The movable distance of the bubble to be variable and for it all to be annotative........?! We have tried editing it in the block editor and adding a point parameter and a move action, with stretch etc, but have got totally lost and made it worse than it started. Any help greatly appreciated. I did look for similar posts, but couldn't see anything that covered this specifically. Apologies if we have missed it. Look forward to hearing from you brains soon!! Detail Marker.dwg
  5. Yesterday
  6. Last week
  7. If still interested in VS Code, perhaps a read through To Setup the AutoCAD AutoLISP Extension for Debug (AutoLISP/VS Code) | Autodesk. I have seen other errors resolved by uninstalling and reinstalling the Extension and/or VS Code. Installing Visual Studio Code on Windows
  8. here are some tips. https://lee-mac.com/debugvlide.html -Edit Might have to set LISPSYS Back to 1 to use VS code again.
  9. I never use it but perhaps I should give a try instead thanks.
  10. Thanks for the link, just notice the documentation it says I run vscode as admin ('ll try that and see and improvement). (my user has admin privileges but I never actually force VS Code to start with admin privileges ). I'll try that and see it improves. I believe the setup is fine as I can do both debug attach or debug launch... Also the executable for AutoCAD map is acad.exe just as AutoCAD. The behavior I see is as if VSCode loses contact with ACAD or as if it never releases the processes. At times it prompts me if I want to start a 2nd Debug Attach. I may go a day where I only need to restart once or twice other times I'm forced to restart 20 to 30 times. I wonder if could be interference with some other plug ins like ArcgIS.
  11. I think you can still use VLIDE. if If VLIDE Doesn't Open set LISPSYS to 0 Tho doesn't have autocomplete and color coding like vs code.
  12. Did you read the instructions for the AutoCAD AutoLISP extension? I run code with AutoCAD, which is the path you show using, that probably doesn't work with AutoCAD Map3D, so you might need to repath if that's the program you use or just use AutoCAD and see if that resolves the issue. From AutoCAD AutoLISP Extension - Visual Studio Marketplace
  13. I have this Issue with in VSCode where I'm forced to constantly restart both applications in order to continue debugging. My Setup: AutoCAD Map3d 2021 VS Code 1.27.0 + Autocad AutoLISP Extension 1.6.3 VSCode Extitions Setup: Process name = acad AutoCAD com…start switchs: C:\Program Files\Autodesk\AutoCAD 2021\acad.exe Absolute path: C:\Program Files\Autodesk\AutoCAD 2021\acad.exe I start Autocad First, then run vlide from the command prompt to load the the VScode application. Then typical open a lisp project containing multiple lisp files. Then to start debugging by Pressing “F5”. Some times this works fine but more often than not I need to restart both app multiple times.. This happens mostly after I run into a code error… like typo or syntax error or trying to load a file autocad cant find. The only way to be able to continue debugging my project is to completely restart both vscode and autocad(once or a few times). I seen this with my previous setup as well (different hardware, os and applications versions). Any idea or suggestion why this could be happening?
  14. Went away and had a look at why 31. Sum the values.
  15. @zaphod That's a good one, thank you!
  16. the system/drawing variable "fieldeval" is set to 4, it needs to be set to 31 in order to visibly see it update. Drawing2.dwg
  17. I can't remember what I ended up doing. My issue was very similar and involved linetypes with shape files. Please post back here if Autodesk resolves the issue.
  18. I got myself a workaround that seems to work for me. Made a LISP (long live AI) that stores all layer and linetype combinations. Sets everything to 'Continious', purges all linetypes, that reloads the linetypes and that restores the default settings. This seems to do the trick to get rid off all 'corrupted' linetype definitions, and 'reloading' is replaced with a load function.
  19. You need to post a true copy of what ever your starting with as you hinted a csv or a pdf. There is nom problem reading a csv and inserting all the borehole blocks at correct location, yes can look at other details so can insert different blocks when required, That is the sort of information you are not providing. eg a csv file like this. I can see need to compare your look up table that you previously provided. Once this sort of information is posted then a complete solution can be provided. Not just questions. Bore 1 X,Y 0.5,Green dirt 1.2,Black dirt 2.4,Blue dirt Bore 2 X,Y 1.3,Green Dirt 2.2,Black dirt Bore 3 and so on
  20. @Aftertouch I thought this may be a bug. I think there may be other bugs since 2025 version, I had some issues last year with linetypes. I'll play around with it next week when I am at work and have AutoCAD 2026 to test. @tombu I have the other one in that thread from Cad Studio, I'll have to try yours out when I get to work next week.
  21. Did the reload shx work ? It may take some time for a bug fix.
  22. BIGAL

    GNSS on AutoCAD

    Yep found the formula, also found some Excel convert formula. Did find even a lisp link. Try this in google. formula for convert latitude and longitude to northing and easting using lisp
  23. Earlier
  24. @tombu Ive had contact with AutoDesk: Hello Michel, I am writing to confirm that I have reviewed the issue you reported and replicated the results you described (see this video:https://go.screenpal.com/watch/cOieX2nU2gH ). I want to assure you that we've reported it to our development team, and they're currently investigating it. The resulting internal development ticket is linked to this technical support case and has the following Issue ID/subject: "CPR-2262 Reloading complex linetype without SHX shape does not update line display". AutoCAD confirmed that this issue is present since AutoCAD 2025 version.
  25. Have you tried saving, closing and reopening the drawing? I retired a few years ago and never saw the latest version. Here's a link to a lisp that will output the linetype definition of a selected line to the command line. I wrote it to extract linetypes I liked from drawings by others to add to my acad.lin file: https://forums.autodesk.com/t5/autocad-forum/export-linetype-to-acad-lin/m-p/11945136#M36909 which is why I called it LT_thief.lsp It will output the actual current linetype definition of a selected line to the command line including the shape references.
  26. PGia

    GNSS on AutoCAD

    Thanks for your interest. @BIGAL: To transform coordinates from LL to UTM, you only need to know the UTM zone, the hemisphere (N/S), and the datum (WGS84, ETRS89, Hayford, Clarke, etc.). The central meridian scale factor in the UTM system is always 0.9996. I usually work within UTM zones 31N, 32N, and 33N. However, the code should be able to return UTM coordinates for any location simply by specifying the UTM zone, hemisphere, and datum as parameters
  27. Hi All, thanks for the replies. @tombu That is exactly the issue. I removed the SHAPE reference from the linetype, reload the linetype. I see that the linetype is changed a bit, but the SHAPE keeps being shown. Even when i check the linetype definition in the DWG, the SHPAE reference is gone there, but still visualy there. Look, there are my definitions: Video attatched with my relaoding action. when i load the WITHOUT.LIN in a NEW drawing. the linetype is just fine... In the last sec off the video i do a REA command, and you see the linetype presentation change a bit. Most anoying... in AutoCAD 2023 this works just fine... looks like an AutoCAD 2027 error. Sample.mp4
  28. You can have multiple references to the same drawing with different Layer Properties. I've done it many times. You could insert the same XREF drawing into one of your project drawing with a different name, modify it's layer properties then copy each of them into your project drawings. You could also define Layer States in the XREF drawing for both Layer States in the XREF drawing then insert and name each of them into one of your project drawings then just copy each of those inserts to the rest of your project drawing.
  29. Did you regen the drawing? Shapes are referenced by linetypes not defined by them. Whatever Shapes defined in the drawing would still be there. Did you remove the Shape references in the linetype definition before reloading it?
  30. Just a maybe reload the shx while you sort out what is going on. Are your shx files and custom .lin files in a support path ? That may be why they are not reloading. (command "._LOAD" "C:\\Path\\To\\YourFile\\custom.shx") or (command "._LOAD" "Custom.shx") ; tested this Bricscad V25
  1. Load more activity
×
×
  • Create New...