Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Search results for query: *

  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...
  16. Nate242

    Dealing with huge patterns

    Many of the projects I'm currently working on have thousands of small cylinders(ø1.5mm .5mm high, with even smaller cylinders on top of them). My current system is really struggling with handling this many features. I'm currently running a Dell Precision 370 with a P4 2.8, 3.25GB ram, and an ATI...
  17. Nate242

    Custom Dimension Style

    The part is made in two configurations, a green and fired. The only difference is the fired is scaled by the sf. Would it be possible to put dimensions from both configurations in the same dimension, along with the sf (it is constant)?
  18. Nate242

    Custom Dimension Style

    The parts are ceramic and the dimension contains the green, sf, and fired dimensions. This allows us to have everything on one print. Currently we have to add the sf and sf*dim on each dim. I didn't set up the format, but it works well for our purpose. So, anyone have any ideas?
  19. Nate242

    Custom Dimension Style

    Is it possible to create a custom dimension style in Solidworks? We currently have to alter the dimension in order to display the needed info. I would like a format that would include the measured dim, a scale factor, and the dim multiplied by the scale factor. Ideally this would be a style...
  20. Nate242

    Convert 2005 part to 2004

    Thanks for the replies. I suspected it wasn't backwards compatible, but I wanted to double check.
Back
Top