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 Nate242

  1. Nate242

    Drawing tabs/page layouts

    I'll see if I can massage the code to work for my app. Thanks!
  2. Nate242

    Drawing tabs/page layouts

    Can anyone tell me what type of entity the layout tabs are? I am trying to write a quick lisp program to delete all layout tabs other than the current/model tab, but I'm not sure how to get the entity info so they can be deleted. Any help would be appreciated.
  3. Nate242

    Select object in pspace & viewport scale

    Thats exactly what I needed, thanks Carl!
  4. Nate242

    Select object in pspace & viewport scale

    I'm writing a lisp program to auto-gen drawings. It gets a few dimensions from the user, switches to ms & draws the part, then switches to ps & inserts an autoscaled viewport. I want to then dimension it in ps, but to do that I need the center point of the circle (in ms) and the viewport scale...
  5. Nate242

    placing dimensions using AutoLISP

    I narrowed it down to the RT, UP, etc.. variables, I hadn't defined them. I was referencing some other code that used them, and I thought it might be part of the syntax, I guess not. I defined them as such and rewrote the code with success. (setq UP (DTR 90)) (setq DN (DTR 270)) (Setq RT (DTR...
  6. Nate242

    placing dimensions using AutoLISP

    Ok, I am trying to place some linear dimensions in my lisp program, and everything works fine until it has to set the dimension position. My code looks like this: (setvar "CLAYER" "T") (command "DIMSTYLE" "R" "standard") (setvar "DIMDEC" 3) (setvar "DIMATFIT" 3) (setvar "DIMUPT" 1) (setvar...
  7. Nate242

    Rounding...

    Thanks guys.
  8. Nate242

    Rounding...

    What is the best way to round using autolisp? I'd like to be able to round to 3 places. ex) 200.4955 -> 200.496
  9. Nate242

    Displaying system variables

    Thanks Carl, that's exactly what I was looking for.
  10. Nate242

    Displaying system variables

    I'd put my code up, but it's just some really simple addition to the base variable that the user would enter. After thinking it over last night, I realized that it would really be best to forego the lispfile, and just not have the dims auto update fo r this application. My original question...
  11. Nate242

    Displaying system variables

    I've figured out how to calculate the info I want by the use of a lisp file, but I can't get the info I want onto the drawing. I was planning on using a field to display a user variable (have the code written and all), but none of the user variables are available for display, and when I enter...
  12. Nate242

    AUTO UPDATING FIELDS?

    Is it possible to have autocad calculate a formula and put the result in an auto updating field? Something like this: x = 200 (something that is able to be updated easily like a block attribute, or...) auto updating field = x*2 => auto updates and shows "400" I just want to be able to have a...
  13. Nate242

    Basic math in Autocad?

    Thanks, thats exactly what I was looking for.
  14. Nate242

    Basic math in Autocad?

    Is it possible to add/subtract/divide, etc... on the command line (Something like .4136/2 to get .2086)?
  15. Nate242

    With all of this talk of video cards: knock-offs?

    nVidia is a gpu supplier. They don't normally make the video cards (other than a ref. design). BFG is one of many companies(like PNY, ASUS, etc.) that take nVidia chips and build a board off the reference design supplied by nVidia. These companies then cutomize the heatsink/fan, software...

Part and Inventory Search