Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CarlB

    AutoCAD: How do I stop OSnap defaults from overriding @(relative x, y) coordinates?

    Not all system variables can be set through user accessed settings, but this one can be apparently (I read online, didn’t verify): Tools/Options/User Preferences/Prioroty for Coordinate Data Entry ... select "Keyboard Entry" vs "Running Object Snap".
  2. CarlB

    AutoCAD: How do I stop OSnap defaults from overriding @(relative x, y) coordinates?

    Set OSNAPCOORD to 1 or 2 to prevent osnaps from controlling during coordinate entries https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-94994960-5E62-4044-BEF7-9CF91667F641
  3. CarlB

    VIEW PORT LOCK STATUS

    What part isn't working, what is error message?
  4. CarlB

    Paperspace Problem

    This discussion may help: https://forum.bricsys.com/discussion/17237/confusion-about-psltscale-setting
  5. CarlB

    drawing a curve and find the formula

    Yes, in Excel. https://mathstat.slu.edu/~may/ExcelCalculus/sec-1-5-IntroBestFitCurves.html
  6. CarlB

    Lisp for translating the layers

    A "script" (*.scr file) could probably handle this, depending on your layer naming convention. Here's one site with info: http://www.lee-mac.com/scriptwriting.html The script file would look something like: layer color 8 (or other background color) * color (desired color here) LayerA,layerc (2...
  7. CarlB

    convert dwg file to searchable pdf

    To prevent shx fonts appearing as comments in a PDF, set AutoCad variable PDFSHX to 0 before creating the PDF.
  8. CarlB

    Error Isogen of Cadworx

    I don't have Cadworx to check, I just found that someone posted how they had solved it.. From that response, it appears there is a menu "Option" "Start In" that must not be blank. They used "c:\cadworx 2018\". You would enter path where yours is installed. If that doesn't do it, search and/or...
  9. CarlB

    Error Isogen of Cadworx

    Maybe this: http://forums.coade.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=72538
  10. CarlB

    AutoCad/Autolisp commands for rotating text and inputting rev notes

    It is possible with AutoLisp to accomplish any of those tasks. But it would be overkill, as most of those can be accomplished by good CAD practices. The Lisp routines won't prevent poor CAD practices from sabotaging the intent. For example, many firms use titleblock templates, and revisions are...
  11. CarlB

    Hi, everyone I am trying to draw

    AutoCAD will use the current object snaps while executing the lisp, so for points close together, the "endpoint" osnap may be affecting point/line placement. It's best to control osnaps within the lisp, such as by (setvar "osmode" "0") Actually you should capture current osmode, set the osmode...
  12. CarlB

    Get the name of current UCS

    In an AutoLisp program, I looked at other system variables: UCSORG, UCSXDIR, UCSYDIR And compared these to what they should be if current UCS was "World".
  13. CarlB

    AutoCAD - VBA macro...?

    A good discussion on difference between VBA and AutoLisp at https://www.cadalyst.com/cad/autocad/to-autolisp-or-vba-4813 Like you, I'd heard support to VBA was to be phased out, but it seems to be hanging on.
  14. CarlB

    LISP - Al's Steel Mill not working?

    At the Autodesk forum, a few posters had a similar problem and some suggestions were mentioned, have you tried those? It is odd that it worked, now doesn’t. Do you type “stl” and nothing happens?
  15. CarlB

    reading coordinates from autocad

    I assume you have AutoCAD LT or similar if it doesn't have the MASSPROP command. So then you also couldn't use a lisp routine to simplify an extract of coordinates. You should be able to pull the coordinates from a dxf file. Create a simple file with a hatch and look through the dxf file. You'll...
  16. CarlB

    Copy & Paste objects in a Border (polygon)

    There is probably a lisp solution available. I did only a quick search and found a routine something similar to your request, but it probably doesn't trim at the border or handle images. http://www.cadtutor.net/forum/showthread.php?57864-How-to-select-all-objects-enclosed-in-a-poly-line
  17. CarlB

    Extracting Coordinates from a curve

    I took the liberty to add maripali's edits to the original file, and modify it to output the point coordinates in "x,y" format. This format allows you to place in Excel and parse into columns. (defun c:cpoints () ;; Creates the list of points for selected curve (LINE, PLINE, SPLINE) according...
  18. CarlB

    Extracting Coordinates from a curve

    Santosh, I didn't find a lisp routine that exactly fit your needs. But maripali has written one that appears to work properly. For ease use of the extracted data, the routine should be modified a bit to write the coordinates to a text file in "x,y" format rather than just list coordinates to...
  19. CarlB

    Extracting Coordinates from a curve

    The method you use depends if the "equal interval" is equal in regards to distance along curve, or in x values as your grid method implies. There are scads of free lisp routines to be found. I'm sure there are several that would do it in one click, with output to a text file or similar.
  20. CarlB

    Flatten vs flatten?

    Looks like Flatten does not have option to not break down blocks. There are lisps to re-assemble block, and alternate flatten lisps, e.g: https://forums.autodesk.com/t5/autocad-forum/flatten-command-produced-excessive-number-of-blocks/td-p/5694305 Or other ways in AutoCAD to move objects to...

Part and Inventory Search