Message 1 of 3
array inside a rectangle
Not applicable
04-26-2009
01:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I work on AutoCAD 2004
we have a draw
is there a VBA macro that can draw an array of this content inside a rectangle
which the heigh and width are entered by user folowing these steps:
1*user adjust the position and rotate the "second" copy before doing any arraying
by creating a function that ask him:
- move left/right/up/down the copy (beside the original) => ask for the value distance
or -rotate the copy (beside the original) => ask for the value of the angle
2*arraying the result in the rectangle
3*draw the rectangle inside it we put the array
4*calculate the quotion of areas (all copies/rectangle)
5*have the possibility -if he judge that is not a good quotion- to delete the final result
(the array) and return to modify the place of the copy beside the original image
and redo steps 2,3 and 4
***user dont need to be able to re-adjust the rectangle (dimensions of rectangle is fixed)
***user know only width and heigh values
Edited by: akram85ing on Apr 27, 2009 11:13 PM Edited by: akram85ing on Apr 27, 2009 11:20 PM
we have a draw
is there a VBA macro that can draw an array of this content inside a rectangle
which the heigh and width are entered by user folowing these steps:
1*user adjust the position and rotate the "second" copy before doing any arraying
by creating a function that ask him:
- move left/right/up/down the copy (beside the original) => ask for the value distance
or -rotate the copy (beside the original) => ask for the value of the angle
2*arraying the result in the rectangle
3*draw the rectangle inside it we put the array
4*calculate the quotion of areas (all copies/rectangle)
5*have the possibility -if he judge that is not a good quotion- to delete the final result
(the array) and return to modify the place of the copy beside the original image
and redo steps 2,3 and 4
***user dont need to be able to re-adjust the rectangle (dimensions of rectangle is fixed)
***user know only width and heigh values
Edited by: akram85ing on Apr 27, 2009 11:13 PM Edited by: akram85ing on Apr 27, 2009 11:20 PM