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.
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...
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...
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...
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...
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...
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...
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...
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...
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)?
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?
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...