Based on a repeat section i need to add the equivalent number of check boxes via code. Please suggest if you have any solution.
I do not recommend trying to programmatically add new Maestro components into your form at runtime. This is (to my knowledge) not something that Maestro supports and there are simpler options available.
I believe what you need here is another repeat block "B" to your form which contains the required checkbox component. You can then dynamically and programmatically add rows to repeat block B to match the rows the user adds to the original repeat block "A".
The add/delete buttons for repeat block B should be hidden as the number of rows is not determined by the user directly, but by the number of rows in repeat block A.
I hope this helps!