aobjr
Mechanical
- May 7, 2003
- 11
I'm new to VBA. I would like to automate in autocad the generation of either close or open polygon then if it is closed polygon it would also calculate the area. The input data should be the angle and length for each line in the polygon. The input data maybe also extracted automatically from a .txt file. It should be applicable to "n" number of lines. Sample below is a equiangular triangle. . Angle rotation is counterclockwise using the default reference origin of the Autocad.Thanks in advance.
Input data: angle in decimal degrees length
sample 120 500
240 500
0 500
Input data: angle in decimal degrees length
sample 120 500
240 500
0 500