| Article | 70002783 |
| Type | Wish |
| Product | Engine |
| Date Added | 11/5/2025 12:00:00 AM |
| Fixed | 11.5.2 (11/14/2025 12:00:00 AM) |
| Submitted by | wuxiangfei |
Summary
Is it possible to choose the direction (UP/DOWN, RIGHT/LEFT etc) of the new objects created with CmdArrayRectangular? At this moment, the array copies objects from left to right, then moves to the next row, and again from left to right, and so on.
Solution
In version 11.5.2 we added one extra parameter to the cmd like below
///
/// A vdSelection of vdFigures or "USER"/null so the user picks the objects to the screen.
/// The number of rows as int or "USER"/null so the user will be asked for this number.
/// The number of columns as int or "USER"/null so the user will be asked for this number.
/// The distance between the rows as double or "USER"/null so the user will be asked for this number.
/// The distance between the columns as double or "USER"/null so the user will be asked for this number.
/// An integer representing how th copy will take place
/// 12 13 14 15
/// 8 9 10 11 horizontal starting from the beginning for each row
/// 4 5 6 7
/// 1. 0 1 2 3
/// 15 14 13 12
/// 8 9 10 11 horizontal following a different path
/// 7 6 5 4
/// 2. 0 1 2 3
/// 3 7 11 15
/// 2 6 10 14 Vertical starting from the beginning for each column.
/// 1 5 9 13
/// 3. 0 4 8 12
/// 3 4 11 12
/// 2 5 10 13 Vertical following a different path
/// 1 6 9 14
/// 4. 0 7 8 15
public bool CmdArrayRectangular(object SelSet, object NumberofRows, object NumberofColumns, object RowsDist, object ColumnsDist, int copyType)
