Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Certain drawings or all of them? Try DRAGMODE = Auto Text, MText or both? Have you tried turning Hardware Acceleration OFF? It could be a font issue, template issue or maybe a graphics card/driver issue. Maybe a RESET to Defaults will fix it.
  3. I've searched all over the internet and previous forum topics but have not come across a solution to my problem... Having previously never had an issue with this, all of a sudden when I am moving/copying/rotating text within a drawing the text disappears whilst the move/copy/rotate command is active. Once I click to place the text it then reappears in the new position. The problem is that I struggle to place it in the new position that I want because I can't see it until I complete the command. The same thing is now happening to two other users in our office, so this would seem to either be an AutoCAD system setting, or perhaps a template issue?? This is happening with both AutoCAD 2025 and 2026, but until a week ago never had this problem before. It's driving me crazy, so any suggestions would be very very very much appreciated! Thank you...
  4. Today
  5. ILoveMadoka

    Revit -> PDF -> Autocad

    Not the case at all. We are "above board", "official requests", "please Sir.." "smoochie smooch" "virgin sacrifice" etc... We are working with architects and in my 35+ years of experience, they are not very agreeable to providing anything to anyone besides print media. In 2026, why would anyone need anything beyond a print in this digital world...? It has always been a [ insert your favorite terms here ] when working with architects in my personal experience. We are using the "powers that be" method to attempt to wrestle original files for our use. no joy so far... Raster -> Vector + Tracing over has been what I have been doing up to this point.. Our client is the same as theirs and they [the client] is expecting digital deliverables. Note the check mark beside "Does not play well with others.." sigh... >>If your being provided the pdf's as part of a project, then why are they not provided under some form of copy right agreement. Ding! Ding! Ding!!
  6. Danielm103

    Batch convert dxf to dwg

    You are correct, need the .NET SDK, and Extensions to build modules with Visual Studio Code. It’s been a while since I’ve done .NET, I think version 4 had the compiler, you could build with notepad and the command line ugh BTW, I’ve had companies reach out to me to support zero-install Python packages for AutoCAD. They wanted to validate the modules, and block PIP. Basically it’s: 1, Grab Python embedded package from the Python site, it’s a minimal, portable zipped interpreter for Windows. 2, add the most commonly used packages, pyrx, pyopenxl, pypdf, genre specific tools, like shapely, or gdal 3, deploy it as a .bundle. I've been meaning to write something about this, lazy i guess lol
  7. Yesterday
  8. CAD standards are the lifeblood of efficient drafting and design. Whether you work in an office of hundreds or it’s just you, CAD standards make your drawings more consistent. The CAD standards tool makes it easy to audit and even fix your standards right from within AutoCAD. Let’s walk through how to set it up, run checks, and keep your drawings on point. Getting Started with CAD Standards The standards checker consists of two parts: the standards file and the configuration tool. You may already have a file that houses your CAD standards, as your template probably contains all your correct layers, linetypes, and styles. Simply save that file with a DWS extension or create a new one that contains your standards. If you work in a multi-disciplined environment, you can even have multiple files, perhaps one for each discipline, such as architecture, structural, or MEP. Once you have created your standards file(s), click on the Manage tab on the ribbon and select Configure in the Standards panel. This opens the configuration dialog where you can attach your DWS file(s). You can add multiple files and prioritize them by reordering—the top file takes precedence during audits. Like an Xref, these files stay attached until you remove them, so consider adding them to your templates for maximum efficiency. In the Plug-ins tab, select what you want to audit: Dimension Styles, Layers, Linetypes, or Text Styles. Check or uncheck as needed; the description box spells out precisely what each plug-in inspects. Finally, you’ll want to configure what actions happen when a standards violation is found. When you click on the CAD Standards settings button, you’ll get a dialog where you can choose how, or if, you’d like to be notified of a violation, and what you want to do when a violation is found. Running the CAD Standards Checker To check your drawing vs. the standards file, click Check in the Standards panel or use the Check Standards option in the configuration dialog. The Check Standards dialog lists any issues, suggests fixes based on your DWS file, and lets you fix, ignore, or skip to the next problem. The audit checks both the named object, such as the layer or style name, and its properties. Choosing to fix a non-standard name will not only change the object’s name but also purge the bad name from the drawing. If the violation should be with a property of the named object, such as the color of a layer, it will simply fix the property. If notifications are enabled, you’ll receive an alert or status bar balloon when a violation is detected, either during a check or when opening a drawing with an attached DWS file. Another Perspective on CAD Standards We’ve looked at this so far from the perspective of enforcing office standards. While it certainly helps with that, let’s think outside the box for a minute. Let’s assume your office hums when it comes to standards. Everything is built into your custom tools, and your company template is perfect. One day, you get a batch of as-built drawings from the client. You are to use them in your project, but they’re not even close to your meticulously crafted CAD standards. Now what? You could assign the summer intern to scrub them all into your standards, but that would take way too much time, perhaps a whole week. Interns come cheap, not experienced. Then you remember reading this Tuesday Tip. Donning your superhero Captain CAD cape, you make a copy of your company DWT file, rename the copy’s extension to DWS, and apply it to each as-built. You specify the settings to automatically fix non-standard properties and disable notifications, and just like that, you’re probably at least 90% done with your task. When you’re done, detach the DWS file, Save (of course), and delete the evidence when they’re all done (the copied DWT that became the DWS). Don’t forget to hang up your cape before you tell the boss that you took care of the conversion in a few hours, not days. Now, you’ve just set a perfect example of working smarter, not harder. Summing It Up Whether you’re dealing with that rogue cowboy in your office who likes to use their favorite colors or fonts, or if you’re converting another drawing to your office standards, CAD Standards maintain consistency, accuracy, efficiency, and project your company drawings’ professionalism. The CAD Standards Manager is like a modern AI assistant that you can rely on to keep your drawings streamlined and accurate. It may not be something you use all the time, but knowing about it can help you become the office power user, or even your version of a Captain CAD Superhero (cape not included). More Tuesday Tips Check out our whole Tuesday Tips series for ideas on how to make AutoCAD work for you. The post Managing Your CAD Standards: Tuesday Tips With Frank appeared first on AutoCAD Blog. View the full article
  9. First of all....I'm barely a noob with Revit. Learning via youtube. We use Autocad title blocks with zone Letters & Numbers. (A,B,C,D on sides, 1-8 [numbers] on the bottom and top) We are about to start our first Revit project. What is the recommendation if we want to use zones on all Revit sheets? Make it text and have to manually update each sheet? I didn't know if Labels can be made is such a way as to update per the sheet they are located on? please be gentle.... It's my first time..
  10. ReMark

    Penn Foster Structural Drafting

    Since that is the case when plotted you will use a scale of 1:1 and it should plot just fine.
  11. GLAVCVS

    convert rectangle as block

    Add this code below '(command " rectangle"... ', load it, and try running the code again (if (not (tblsearch "block" roomName)) (command "_block" roomName (setq pt (list (min (car fc) (car fc)) (min (cadr fc) (cadr fc)))) (setq cj (ssadd (entlast))) "") (princ (strcat "\n" roomName " already exist...")) ) (command "_.insert" roomName pt "" "" "")
  12. EmeraldSynth

    Penn Foster Structural Drafting

    The title block and border are drawn in the layout tab
  13. That's definitely the best option. Thank you, @Lee Mac
  14. (defun c:rm () (setq roomName (getstring t "\nEnter room type:" ) ) (null (initget 32)) (setq fc (getpoint "\nPick first corner")) (null (initget 32)) (setq nc (getcorner fc "\nPick Next corner")) (setq h (abs (- (car fc) (car nc))) v (abs (- (cadr fc) (cadr nc))) ) (setq ar (* h v)) (setq txt (strcat roomName "\\P" (rtos h 2 2) " M " " X " (rtos v 2 2) " M " "\\P" "[" (rtos ar 2 2) " SQ.M.]" ) ) (command "rectangle" fc nc) (setq p (mapcar (function (lambda (a b) (/ (+ a b) 2.00))) fc nc)) (entmakex (list (cons 0 "MTEXT") (cons 8 "ROOM") ; your layer name (cons 62 5) ; text color blue (cons 7 "Standard") ; text style name (cons 100 "AcDbEntity") (cons 100 "AcDbMText") (cons 10 p) (cons 1 txt) (cons 41 0) ; Text width (cons 71 5) (cons 72 5) (cons 73 1) (cons 40 0.23) ) ) (princ) ) Convert the rectangle (only) into a block, placing the point at the bottom left corner. Drawing2.dwg
  15. Just use: (command "_.OFFSET" dist ent "_non" offsetpt "") And you no longer need to worry about OSMODE.
  16. I forgot to mention that: I haven't done anything with 'osmode' because I think it's convenient to manage it from the F3 key at runtime: you can activate or deactivate it during command execution by pressing F3.
  17. @GLAVCVS Thanks so much, I really appreciate your help! You offer many options, one is better than the other! I do not know about your drawing, but my bindings interfere with the correct execution of the code. Need to set OSMODE to 0. I use offset OUTSIDE more often, but we don't know what the future holds!
  18. SLW210

    Batch convert dxf to dwg

    You would still need Visual Studio or similar and packages installed. Even for Visual Studio Code and LISP, I get PowerShell errors due to IT blocking it as well as the need to download the extension. Main issue is just lazy IT departments not wanting to due proper security, every issue I have had a work shows "improper server configuration" and/or "improper firewall configuration" when searching the issue. Anyone using Autodesk products (maybe other programs as well) has to manually override the proxy server on each restart of their computer or we have licensing issues. I had to to do all of the leg work on getting that issue resolved. Unfortunately that's just how many IT "professionals" are trained, "when in doubt, block it out". I normally don't have issues getting programs installed, just usually they are in no hurry to get it done. Autodesk is partly to blame, should be a better way to get apps, add-ons, etc. than needing an IT install. Even Microsoft, why do I need to update Windows and MS Office tools separately and need IT to allow use of PowerShell? To be honest though, I am just the AutoCAD guy, so they don't understand how programming with other tools is relevant.
  19. If you want to change the offset direction, you just need to change the 'i?' parameter used to call 'sDir' from 'nil' to 'T' (as indicated in the code comment). Nikon2.mp4 PS: The video shows the execution of the code with 'i?' set to 'T'.
  20. This version should work in all cases, regardless of the complexity of the polygons ;******************* p o r d e s i a r g o ******************** ;************************ G L A V C V S ************************* ;************************** F E C I T *************************** (defun c:RectOffBatch (/ selset dist i ent pts offsetpt a70 es l le p1 p2 o sDir) (defun sDir (le i? / p1 p2 p ar ang ab dir tl) (foreach l le (if (and (= (car l) 10) (setq p (cdr l))) (progn (if p2 (if p1 (setq dir (cond ((< (abs (setq ang (- (setq ar (angle p1 p2)) (setq ab (angle p2 p))))) PI) ang) (T (if (<= ar PI) (+ ar (- (* 2 PI) ab)) (- (- ar (* 2 PI)) ab))) ) ) ) ) (if dir (setq tl (+ (if tl tl 0) dir))) (setq p1 p2 p2 p dir nil) ) ) ) (if (minusp tl) (if i? + -) (if i? - +)) ) (prompt "\nSelect rectangles (polylines): ") (setq selset (ssget '((0 . "*POLYLINE")))) (vl-cmdf "_.CONVERTPOLY" "_Light" selset "") (if selset (if (setq i -1 dist (getdist "\nEnter the offset distance: ")) (repeat (sslength selset) (setq ent (ssname selset (setq i (1+ i)))) (setq o (sDir (setq le (entget ent)) nil)); <-- CHANGE 'nil' TO 'T' FOR OFFSET INWARD TOWARD INTERIOR OF THE POLYGONS (if (= (rem (cdr (setq a70 (assoc 70 le))) 2) 0) (entmod (subst (cons 70 (+ (cdr a70) 1)) a70 le))) (setq pr (vlax-curve-getPointAtParam ent 0.5)) (setq offsetpt (polar pr (o (angle (vlax-curve-getPointAtParam ent 0) pr) (/ PI 2.)) 0.1)) (command "_.OFFSET" dist ent offsetpt "") ) ) ) (princ) )
  21. @GLAVCVS "So that it only offsets outwards, for example, like this" I figured out what the problem was. Both codes are not working correctly with my bindings (osmode 183). With bindings disabled (osmode 0), the codes work perfectly. Thanks! (defun c:RectOffBatchOsm0-out (/ selset dist i ent pts offsetpt a70 es l le p1 p2 a midP osmode-prev) (prompt " Select rectangles (polylines): ") (setq selset (ssget '((0 . "*POLYLINE")))) (vl-cmdf "_.CONVERTPOLY" "_Light" selset "") (if selset (progn (setq osmode-prev (getvar "OSMODE")) (setvar "OSMODE" 0) (setq dist (getdist " Enter the offset distance: ") i 0) (repeat (sslength selset) (setq ent (ssname selset i)) (setq pts (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (setq le (entget ent))))) (if (= (rem (cdr (setq a70 (assoc 70 le))) 2) 0) (entmod (subst (cons 70 (+ (cdr a70) 1)) a70 le))) (setq midP (mapcar '(lambda(v) (/ v (length pts))) (apply 'mapcar (cons '+ pts)))) (setq offsetpt (polar (car pts) (angle midP (car pts)) 0.01)) (command "_.OFFSET" dist ent offsetpt "") (setq i (1+ i)) ) (setvar "OSMODE" osmode-prev) ) ) (princ) )
  22. Last week
  23. So that it only offsets outwards, for example, like this (defun c:RectOffBatch (/ selset dist i ent pts offsetpt a70 es l le p1 p2 a midP) (prompt "\nSelect rectangles (polylines): ") (setq selset (ssget '((0 . "*POLYLINE")))) (vl-cmdf "_.CONVERTPOLY" "_Light" selset "") (if selset (progn (setq dist (getdist "\nEnter the offset distance: ") i 0) (repeat (sslength selset) (setq ent (ssname selset i)) (setq pts (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (setq le (entget ent))))) (if (= (rem (cdr (setq a70 (assoc 70 le))) 2) 0) (entmod (subst (cons 70 (+ (cdr a70) 1)) a70 le))) (setq midP (mapcar '(lambda(v) (/ v (length pts))) (apply 'mapcar (cons '+ pts)))) (setq offsetpt (polar (car pts) (angle midP (car pts)) 0.01)) (command "_.OFFSET" dist ent offsetpt "") (setq i (1+ i)) ) ) ) (princ) )
  24. As I said I did some testing about method, just get your closed plines, then check there CW or CCW direction and change if needed. Then use (getvar 'extmax) as offset point.In code below I use pedit "R" as the Reverse command is not available in Bricscad. CCW is offset out for a positive value using VLA-Offset. ; Checking if pline is CW or CCW and set to CCW ; Orignal idea by Kent Cooper, 1 August 2018 Offsetinorout.lsp ; By Alan H July 2020 (defun AH:chkcwccw (ent / objnew area1 area2 obj minpoint maxpoint) (setq obj (vlax-ename->vla-object ent)) (vla-GetBoundingBox obj 'minpoint 'maxpoint) (setq pointmin (vlax-safearray->list minpoint)) (setq pointmax (vlax-safearray->list maxpoint)) (setq dist (/ (distance pointmin pointmax) 20.0)) (vla-offset obj dist) (setq objnew (vlax-ename->vla-object (entlast))) (setq area1 (vlax-get objnew 'Area)) (vla-delete objnew) (vla-offset obj (- dist)) (setq objnew (vlax-ename->vla-object (entlast))) (setq area2 (vlax-get objnew 'Area)) (vla-delete objnew) (if (> area1 area2) (command "Pedit" ent "R" "") ) (princ) )
  25. I tested the code on your drawing and it works correctly. Perhaps you didn't use it correctly. Nikon1.mp4
  26. ReMark

    Penn Foster Structural Drafting

    Sorry, the image is too small for me to see it clearly. Re: Grid. Looks like you enabled it again. Where was the title block and border drawn, model space or in your layout?
  27. tombu

    Viewport Inset Generator

    You should look at Lee Mac's Tutorials like Selection Mode Strings https://www.lee-mac.com/ssget.html for ssget options. For instance ssget "_:L" Rejects selection of objects residing on locked layers.
  28. EmeraldSynth

    Penn Foster Structural Drafting

    Does this look correct?
  29. (70 . 1) or (70 . 128) will filter a selection set for closed polyline - (70 . 1) is usually enough
  1. Load more activity
×
×
  • Create New...