안녕 커뮤니티. ChatGPT에서 이 스크립트에 문제가 있습니다. 'Choice Box'에서 특정 열을 선택하고 Spec Limit 상한 및 하한을 설정할 수 있는 스크립트를 작성하고 싶습니다. 또한 Column Properties에 그래프 참조선으로 표시됩니다. 그런 다음 Fit Y by X 그래프가 열리고 아래 그림과 같이 표시됩니다. 도와주세요...@txnelson
// Open a data table or replace "Data Table Name" with the name of your data table
dt = Current Data Table();
// Get the column names from the data table
columnNames = dt << Get Column Names("String");
// Create a new choice list
cl = New Window("Column Selection",
H List Box(
Choice Box(
columnNames,
"Select a Column",
Value(columnNames[1]),
Set Selected
),
Button Box("OK",
<<CLOSE window=""></CLOSE>