Hi
I would like to create an add in that compares different Sampling Plans using the OC curves. I would like to allow the user to add many input layers/Lines using an "Add more" button. (See picture below)

Therefore
The part of my script that I am focused on is:
ob1 = Outline Box( "Type in your own parameter values",
H List Box(
H List Box( Text Box( "LQ:" , << set width(20)), neb_LQ = Number Edit Box(LQ, << set function(_expr) )),
Spacer box(Size(20,20)),
H List Box( Text Box( "Batch size (N):" , << set width(80)), neb_N = Number Edit Box(N_batch , << set function(_expr))),
Spacer box(Size(20,20)),
//H List Box( Text Box( "LQ:" , << set width(20)), neb_LQ = Number Edit Box(LQ, << set function(_expr) )),
//Spacer box(Size(20,20)),
H List Box( Text Box( "Acceptance limit (Ac):" , << set width(120)), neb_Ac = Number Edit Box(Ac, << set function(_expr))),
Spacer box(Size(20,20)),
H List Box( Text Box( "Alpha:" , << set width(120)), neb_alpha = Number Edit Box(alpha, << set function(_expr)))
)
),
);
// collapse the outline boxes
Button Box( "Press Me",ADD_button() )
Do you have any advice of a smart way to implement the above?