Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by PLB

  1. PLB

    block count lisp

    hans409, At a quick first glance, I noticed that you haven't set the variable B to contain a list at the beginning of the code. You have set C to be car B, and then B to be cdr of itself. When you are first running this, there are no lists set to these variables. Hope this helps, Paul
  2. PLB

    WRITING VBA AND MACROS?

    bdickens, For on-line help, checkout one of my favorites, AFRALISP.com. Kenny has on-line tutorials for Autolisp, Vlisp, DCL and VBA. Hope this helps, Paul
  3. PLB

    Icebreakers

    ChemFemme, I have been to one of those 8 hour, off-site, listen-all-day things. Frankly, it wasn't worth the paper that the notes were written on. IMHO. One event that I found to boost morale happened at an engineering firm that I used to work for. We had been busting our humps to get a project...
  4. PLB

    text string

    rwbaker, Another couple of comments... In the string that you listed, you need an underscore (_) ahead of the MC to get the Middle Center justification. Also, the \0 is giving you a height of 0 - therefore, no text... Is that right? Paul
  5. PLB

    text string

    rwbaker, Another thing to check is the text font. I have found that SOME text fonts will give you the desired text using %% and then a number (like 189). Others will not. Also, it seems to me that DTEXT should provide the same result as TEXT would. Hope this helps, Paul
  6. PLB

    Lisp References?

    Darken99, There are several places that have LISP tutorials. One that I like is www.afralisp.com. Check it out and see if it meets your needs. Paul
  7. PLB

    How to make a Icon that changes text strings???...

    willb5150, You can also use the CHANGE command. For example: (defun c:wiregreen () (setq TEXTENT (entsel "\nSelect TEXT to make GREEN: ")) (command "CHANGE" TEXTENT "" "P" "C" GREEN "") (princ) ) Hope this helps, Paul
  8. PLB

    Write Protected File

    corvette63, Try saving the file from the CD onto your harddrive and then "right-click" it. Go to "Properties" and uncheck Read-only. As IFRs has stated, CD-R's are read only. By saving it onto your harddrive you can edit it's properties and use it as you want.
  9. PLB

    Importing into CAD

    corvette63, The office that I am working in is in the process of converting fairly large areas of telephone company maps from paper to Cad. What we have done is have the drawings scanned as TIF files and use the IMAGE command to attach them. After we have finished tracing off what we need, we...
  10. PLB

    Polar Autolisp Command

    jdmcclung, If I am understanding you correctly, you maybe be experiencing some of the same problems that I have. One of the biggest things that I have found is to make sure that you shut off ALL OSNAPS before your LISP program tries to draw anything. If you need to pick OSNAP points during the...
  11. PLB

    Polyline Help

    Hey jfchapman, I have checked through my settings and have found a few that you might want to check on your system. They are: FILLMODE = 1 PLINEGEN = 0 PLINETYPE = 2 SPLFRAME = 0 If you type in the text shown above on your command line, and then check the default setting, OR set it to the...
  12. PLB

    What's the CTRL-Toggle for "SNAP" (=<F7>) ?

    cfee, Are you looking for F3? that is the one I use to toggle OSNAP on/off. I would think that it is faster than CTRL+something... Hope this helps, Paul B.
  13. PLB

    Nested block reference

    Chris, haggis has pretty much nailed the solution except for 1 question that I would have for you. Is this drawing going to be X-REFFED into your drawing and be updated at some future point in time? If so, you might want to consider the idea of attaching this as an X-REF so that the update will...
  14. PLB

    Contemplating a career change

    joekm, I have a suggestion... Consider how the market looks for possible job openings in the "Larger companies" that you have mentioned. Then, sit down with a paper and pencil and write out a good old-fahioned PROS and CONS list that objectively covers all aspects of your current employer and...
  15. PLB

    Software Development

    I have tried to do a similar thing but, on a more limited basis. I wrote a LISP program that would allow the user to select points in the Autocad drawing and answer questions to design simple span beams. The program designs the beam and creates a text file with all the calculations in it. It...

Part and Inventory Search