Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Thank you for your time, i'm waiting for updated
  3. Buenos días BIGAL, pero siento decirte, que no te entiendo, pero te mando un fichero para que veas lo que tengo. Cuando ejecutas la rutina de "BIGAL", funciona perfectamente, pero me haría falta solo colocar un "-" entre el nombre del fichero dwg y la presentación (sin tener que colocar en el nombre del fichero de dwg un guion). Como te he comentado anteriormente, muchas gracias TOMO001.dwg
  4. Today
  5. The error SET only occurs when the SETQ is missing a "q" its ok in the code I posted. I added a go to paperspace in case that is a problem.
  6. That's a tricky one! CyberAngel’s suggestion of using a third 'plotting' drawing is probably the cleanest way to handle this. By Xrefing both the existing plans and the new design into one file, you can easily tweak the draw order and transparency of the 'existing' layers without affecting the original files. It saves you from having to mess with viewport transparency settings that usually don't plot the way you want them to.
  7. Buenos días BIGAL, siento molestarte de nuevo, no funciona pues sale esto a la hora de cargar. Comando: _appload LAYOUTS 02.lsp correctamente cargado(s). LAYOUTS 02.lsp correctamente cargado(s). Comando: ; error: no function definition: CONJUNTO Comando: ; error: no function definition: CONJUNTO. A mi me funciona perfectamente lo que puso el compañero "DEVITG", lo único que me hace falta es que me ponga en medio del nombre del fichero de autocad y el nombre de la presentación un "-". Siento mucho las molestias
  8. If the points are not to be moved @EnM4st3r has given you an answer, a little homework for you is a lisp task, change the (while to use a Selection set and a (repeat then all done.
  9. Snap and Grid set to what and are they on ?
  10. Using a CIV3D dwg a lot of info is not purged as its locked by CIV3D, need to use PURGESYLEANDSETTINGS before Purge. The dwg will drop in size quickly.
  11. What program ? Some programs will need a bat file, may be able to use STARTAPP.
  12. Give this a try I added the 00x 0x etc. Limited testing. (defun c:exx+devitg (/ actual presentacion presentaciones n num ) (setq actual (getvar "CTAB")) ;almacena el nombre de la presentación en la que estamos (setq presentaciones (layoutlist)) ;crea una lista con los nombres de las presentaciones (setq n 1) (FOREACH presentacion presentaciones (setvar 'ctab presentacion) (command "pspace") (cond ((< n 10)(setq num (Strcat "00" (rtos n 2 0)))) ((< n 100)(setq num (Strcat "0" (rtos n 2 0)))) ((>= n 100)(setq num (rtos n 2 0))) ) (setq n (1+ n)) (command "_exportlayout" (strcat (getvar "dwgprefix") (vl-filename-base (getvar "dwgname")) num ) ) ; esto es lo que debería hacer que el nuevo dwg se guardase en la ruta del archivo abierto. ); fin del FOREACH (setvar "CTAB" actual) ;define como actual la presentación en la que estábamos trabajando al principio (princ) ) (c:exx+devitg)
  13. Yesterday
  14. BIGAL

    Viewport Inset Generator

    If you have multiple viewports in a layout, then using chspace have to nominate which viewport you are looking at. Will see if can edit code bit busy at moment.
  15. Are you using AutoCAD 2010? Along with previous suggestions and to add, you can do a lot of cleaning with the WBLOCK @ReMark, best method for true cleaning is to WBLOCK just the selected/visible objects you need, that way some of the things mentioned by @CyberAngel are hopefully not carried to the new drawing. I always start with -EXPORTTOAUTOCAD to clean up objects left by verticals, etc.
  16. CyberAngel

    HARD ORTHO

    Can you be more specific about when and how this issue arises? Does it always happen while using relative coordinates?
  17. The worst waste of storage I've seen is inserting another drawing as a block (either as copy&paste or xref), using it for whatever, then freezing the layer it's on. Sometimes they'll insert it once, forget it's there, and explode the second copy, so it's there twice. Or three times or more. The usual tools don't work on these duplicates. There are ways to find them, but most are clunky. For instance, thaw all the layers. See if anything looks suspicious. Select areas of the screen to see if there are outrageous numbers of objects. Another strategy is to look through your blocks. One may have an odd name or a thumbnail that looks like a plan. Look through your layers for groups that don't belong. Go through your layouts. Needless to say, don't save the drawing while you're tracking down the problem. Once you do find it, quit the file, reload it, fix it, and then save.
  18. Oh yes, I was not aware of a BricsCAD-flavored Forum here and must use it (along with a copy of AutoCAD LT 2026 granted exclusively for development purposes to redefine inherited dynamic blocks) I understand that the patented dynamic block functionality is set to expire in 2027 here in the USA. The rest of the world now enjoys it in BricsCAD as I understand it.
  19. Also note that in AutoCAD 2026, you can set the CENTERLINE/CENTERMARK layer without needing third-party applications: https://help.autodesk.com/view/ACD/2026/ENU/?guid=GUID-F517D9EC-372A-4BE2-9E29-824B2D550FF0
  20. Ok, just be aware that, by default, the CENTERLINE command already creates a line with linetype CENTER2 rather than ByLayer.
  21. Yes indeed, Lee. Thanks! I will use a "Center2" linetype instead of "Continuous" according to our standard practices. Clint
  22. You can just use the following entry in the layer list to achieve the result you require: ("CENTERLINE" "CENTERLINE" "" 7 "Continuous" -3 1 nil )
  23. Ah, I should have known... Yes sir, Lee. I have downloaded the Layer Director and will set it up to skip the my beginner trials and tribulations in this case as I am in a time crunch. I am responsible for pushing out a departmental CAD customization package where the custom file updating program was developed by another. I understand that you are not taking on new projects. Thanks for chiming in! Clint
  24. mhupp - I look forward to learning from your examples (as avoiding catastrophes like infinite loops are really good things and things within our control in life.) Thanks, Clint
  25. Note that you can use my Layer Director to preset & reset a layer (including layer creation) for both standard and custom commands: https://lee-mac.com/layerdirector.html
  26. The " . " is the only thing stopping your lisp from running the first 25 lines of your code in an infinite loop. If you gave that lisp to someone them typing centerline in the command prompt would run your code not the default centerline command. as it is "overwritten" I'll post some examples tonight. but off the top of my head I created shortcuts to commands like ;;----------------------------------------------------------------------------;; ;; Create Cricle from picking 3 Points (defun C:C3P () (command "._CIRCLE" "_3P"))
  27. One I can think of is to WBLOCK the entire drawing out to a new file name (temporarily) then compare the file sizes.
  28. Hi, Even though I mostly draw rectangular shapes and have ortho on , still I can pull sideways Sometimes minute lateral move with mouse will even skew lines while using @ with coordinates (relative input) Is there a way to set the ortho for good i.e prevent any lines or shapes from being skewed. Thanks!
  1. Load more activity
×
×
  • Create New...