Ciao comunità JMP,
Ho scritto uno script jmp per assegnare una stringa alle righe selezionate nel generatore di grafici.
Lo script genererà una mappa wafer per le coordinate X e Y. Gli utenti possono selezionare una regione di un wafer e assegnare una stringa alle righe selezionate.
Lo script funziona bene, ma ci vuole molto tempo per assegnare valori alle righe selezionate. ero solito :Column[rows] = logica "stringa". .
C'è un modo per ottimizzarlo o assegnarlo più velocemente? Qualche feedback?

Codice:
f = Function( {a},
teb << settext( Format( N Items( dt << getselectedrows ), "Fixed Dec", Use thousands separator( 1 ) ) || " Dies")
);
Current Data Table( dt );
dt << Clear Row States;
rs = dt << make row state handler( f );
dt = current data table();
New Window( "",
modal,
V List Box(
hlistbox(
Panel Box( "Assign",
H List Box(
Text Box( "Enter Bin Value:" ),
Spacer Box( size( 10, 0 ) ),
tp = Text Edit Box( "", <<SETWIDTH></SETWIDTH>