Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 11/18/2026 in Posts

  1. Where I see posts dug up from many years ago - particularly if there are several answers years later from the same accout - I am starting to assume there is some 'computer aided searching' going on.. not saying a AI bot explicitly but.....
    3 points
  2. @Dadgad "30 or 40 drawings open at the same time" here is a freebie for you. It will display the dwg names for you pick which one to Goto. Multi radio buttons.lspListbox-AH.lsp Gotodwg.lsp
    2 points
  3. Does anybody else use the ACTION RECORDER? It may well be, the most underappreciated functionality in AutoCad. As one who does not write Lisp, I find it quite intuitive, and incredibly helpful "on the fly". Essentially a Key Stroke Recorder, I use it all the time, and it saves me hours on a busy day, with highly repetitive tasks which need to be run on many hundreds of drawings in succession. Another great 3D Modeling command is PRESSPULL, it is much more powerful, quicker and more useful than EXTRUDE. I first learned about it in this video tutorial https://www.cadtutor.net/tutorials/autocad/extrude-and-press-pull/ . 3D Align is another great command, for when things go all off axis, and need to be realigned.
    2 points
  4. Yes, they have already been warned twice about this.
    2 points
  5. @AONE_LED you do realize those are decade old posts you are answering to?
    2 points
  6. Welcome aboard Tommy there are a few people here who can help you. My questions, where are you in the world ? What discipline are you in, helps to get people with similar skils. Sent you a PM.
    2 points
  7. Hopefully there are dimensions noted on the scan. That's what I would typically use to manually redraw it accurately in CAD from scratch.
    2 points
  8. Am sure that is new from when I was recording macros - might be time to revisit action recorder then
    1 point
  9. In simple terms two ways to do it a field in the block text or just read the layer and write that into the attribute. Using the field option has the advantage of if you change the hatch layer the attribute updates. the disadvantage is that you can not save the ID of the object in a Block it has to be updated each time you say make the Mleader. Yes can be done. Maybe later today will do something, limited time at moment.
    1 point
  10. Action Recorder lead me to LISPs, I was annoyed with having to re-record each time I didn't quit get it right and couldn't edit the recording. Good tool though
    1 point
  11. import traceback import wx from pyrx import Ap class TestUIDialog(wx.Dialog): def __init__(self, parent=None): style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER super().__init__( parent, title="PyRx wxPython Control Check", size=(340, 240), style=style, name="PyRxTestUIDialog", ) # Create a panel, a sizer and some controls panel = wx.Panel(self) sizer = wx.BoxSizer(wx.VERTICAL) self.cb = wx.CheckBox(panel, label="Modern Visual Styles Active") self.cb.SetValue(True) self.combo = wx.ComboBox( panel, choices=["Option A", "Option B"], value="Option A", style=wx.CB_READONLY, ) # Bind to an event self.combo.Bind(wx.EVT_COMBOBOX, self.on_combo_select) self.gauge = wx.Gauge(panel, range=100) self.gauge.SetValue(70) self.txt = wx.TextCtrl(panel, value="Text input test") self.btn = wx.Button(panel, wx.ID_OK, label="Close Test") # add the controls to the sizer for ctrl in (self.cb, self.combo, self.gauge, self.txt, self.btn): sizer.Add(ctrl, 0, wx.ALL | wx.EXPAND, 8) # add the sizer to the panel panel.SetSizer(sizer) def on_combo_select(self, event): print("Selected:", self.combo.GetValue()) event.Skip() @Ap.Command() def testui(): try: with TestUIDialog() as dlg: res = Ap.Application.showModalDialog(dlg) print(res) except Exception as err: traceback.print_exception(err)
    1 point
  12. Agreed. Redrawing from known dimensions is often the most reliable approach, especially when the scan itself is distorted. The challenge is when only a few dimensions are available and the rest of the geometry has to be reconstructed.
    1 point
  13. @AONE_LED seems to be dredging all posts about lighting. Maybe put all his responses in one post, with a link and an answer, under the heading Lighting appliances and CAD. Maybe its @indiancad brother.
    1 point
  14. I am pretty positive you are correct.
    1 point
  15. Hire a casual, student, some one wanting experience drafting, raster to vector can be a hit or miss. Use Ortho a lot when tracing over, and like others read the dims, using ortho start point, drag then type dim value. A secret underlay is a pdf.
    1 point
  16. My comments "Decades-old municipal or plant drawings ", yes that is where the water main is located according to the onsite meeting with the water authority representative, We then got a service locator to really confirm where is water main. It took a meandering path due to road conditions not a straight line as shown on the water plan. So the plans are only asgood as "Ist baout here somewhere. Another telecommunication authority its a line on a plan no idea of actual offsets etc, conduits do not go square out of pits rather run along a boundary then cross a road so many stories about services, a 22,000KV elec underground cable missed by 100mm because another crew took on doing some trenching, we had already dug and deptrhe id. For us a day to day task. Just have to work out how to solve. Solution may need a current field survey tying known points to world co-ordinates etc.
    1 point
  17. Raster images - Tiffs - complete redraw using whatever dimensions are available, what I don't know you can infer a lot (for example a wall thickness near a known dimension can infer another dimension) and after that it is down to experience and knowledge with the odd "go over there with a tape measure". Mapping websites are OK for buildings - use 2 or 3 and average out the distances can help if there are absolutely no known dimensions (again inferring distances from known things... including counting bricks from a street view), mapping I have a tool to draw perpendicular polylines off the first line angle which helps a lot. Small parts are often drawn to fractions of the scale (0.5mm, 1mm, 2.5mm etc.... 1/100th inch or whatever) - so once drawn can snap entities to a grid... gets close enough which is all you can do if you cannot be supplied with dimension or a part / site visit to work more accurately from Used to have Paintshop Pro (7 I think) that had a tool to correct parallax errors somewhat.
    1 point
  18. I have used Raster Tools with some great success before. For badly distorted drawings, I create blocks and scale in both directions, no matter the method used to create the linework. If it is a critical part that needs to be drawn very accurate or just a terrible plot, scan, etc., I just look at the drawing and totally redraw from scratch using the indicated dimensions or even better for small objects I just measure the object if available.
    1 point
  19. I forgot about this. Att2Text.lsp converts attributes in a block to text outside the block, removes the attribute from the block and Att2TxtBlk.lsp converts attributes in a block to text outside the block, leaves the attribute in the block. Att2Text.lsp Att2TxtBlk.lsp
    1 point
  20. Technically that's an Express Tool, there used to be several other similar LISPs around as well, there might be one that can do as you wish. In the meantime, just type Multiple, when prompted for the command enter MOCORO, it will stay active after you exit.
    1 point
  21. @Dadgad Actually I even went as far as creating a lisp command so I can make the selections to dwgunits within a dcl gui instead of looking at the dull command line interface. https://marketplace.autodesk.com/apps/5190d5ec-0b6a-4b70-b089-2753abcb8e3a?priceId=bfbb3227-aa55-4923-b9e6-7fe3db0a0a5b
    1 point
  22. One option "they can make certain tasks much faster" is to look at drawing objects via a menu selection. A simple example is choose Text25 the text command is called and the text style is preset as well as the correct layer. We had a client think petrol, upgrading around 250 buildings, each set of plans had to be identical in terms of layers and objects, so a big menu was created and users drew by that menu standard. In this image all objects are on correct layers no user swapping layers, you draw Objects like a Wall or a Window, For the walls 4 layers and the layer names were set by the end user, a different discussion on how to do that.
    1 point
  23. Try this for breakages: ; Self-Intersection Test by Lee McDonnell ~ 19.12.09 (defun SelfInt (obj / vlax-list->3D-point obj) (vl-load-com) (defun vlax-list->3D-point (lst) (if lst (cons (list (car lst) (cadr lst) (caddr lst)) (vlax-list->3D-point (cdddr lst))))) (or (eq 'VLA-OBJECT (type obj)) (setq obj (vlax-ename->vla-object obj))) (vlax-list->3D-point (vlax-invoke obj 'IntersectWith obj acExtendNone))) (defun c:test (/ *error* vl ov ent obj uflag doc) (vl-load-com) (defun *error* (msg) (and ov (mapcar (function setvar) vl ov)) (and uflag (vla-EndUndomark doc)) (or (wcmatch (strcase msg) "*BREAK,*CANCEL*,*EXIT*") (princ (strcat "\n** Error: " msg " **"))) (princ)) (setq vl '("CMDECHO" "OSMODE") ov (mapcar (function getvar) vl)) (mapcar (function setvar) vl '(0 0)) (while (progn (setq ent (car (entsel "\nSelect Object: "))) (cond ( (eq 'ENAME (type ent)) (if (not (vlax-method-applicable-p (setq obj (vlax-ename->vla-object ent)) 'IntersectWith)) (princ "\n** Invalid Selection **") (progn (setq uflag (not (vla-StartUndomark (setq doc (vla-get-ActiveDocument (vlax-get-acad-object)))))) (defun BrkSelf (ent) (foreach x (SelfInt ent) (vl-cmdf "_.break" (list ent x) "_F" x x) (BrkSelf (entlast)))) (BrkSelf ent) (setq uflag (vla-EndUndoMark doc)))))))) (mapcar (function setvar) vl ov) (princ))
    1 point
×
×
  • Create New...