View Full Version : parameterization in autocad 2002 drawings
sfhaider
02-03-2004, 05:14 AM
i have a 2-d drawing (not to scale) in autocad 2002. I want to write a program to in lisp , visual basic or c etc to change my dimensions to have different values as required and turn on/off few desired layers , save it with a name . How can this be done. Any ideas. thanks all
YosSa
02-03-2004, 06:59 AM
Are you experenced in LISP VBA ???
The thing you woud like to do cannot be done automaticly ...
For example ..
A line is 500 in you're drawing, but you want it to be dimensioned as 600.
You ALWAYS have to enter the value 600 manually, so i dont think you can make it faster by creating a LISP or VBA file for it.
but first of all, why in godsake you make drawing that doesnt have the right scale ?? Start making drawings that are 1:1 scale.
Drawings with no scale are really bad.
But if you want to change a dimension:
command line: DIM <enter>
command line: NEWTEXT <enter>
command line: "Youre value" <enter>
Select the dimension ...
sfhaider
02-03-2004, 03:57 PM
Thanks for the reply. I was wondering if i can read the DXF file and change the values thru a program, not manually
I am ok in LISP. and can do in Visual Basic
The drawing i got is not to be scaled. Makes no sense in scaling the drawing.
Anyway whats the input on how to use a scaled drawing and be able to do what i am trying to do.
Thanks again
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.