I seem to recall this in the array command, but maybe it’s available somewhere else?
The divide command can be used first to divide an overall length into a number of points, but I thought there was a subcommand within array for specifying the total distance in a particular axis to array an object.