顯示樹索引 - 它是如何運作的?來自社區的有用資訊:
訂閱:
帶有下標的顯示框
X路徑:
使用 JSL 開發高效、強大的應用程式 (EU 2018 415)
xPath 編碼幫助/ JMP Discovery 2015 - 挖掘 JMP 報告 - v10.pdf (Xpath「家族」樹)
所有具有標題條件的 OutlineBox 通過 XPath ( @helpKey )
多合一:
我可以看到它如何得到它(2024 年探索峰會, @Mark_Bailey , @tonya_mauldin )
自動化和腳本編寫回覆:顯示樹索引 - 它是如何運作的?給我自己注意:
- 使用英文名稱進行 Dispaly Box Substripting
- 使用Dispatch(...)更改大綱框的標題,而不是本地資料過濾器(Title( "LDF" ) )
回覆:顯示樹索引 - 它是如何運作的?現在,讓我們改變環境:

太好了,JMP不會被標題騙了,它仍然通過英文名稱找到顯示框:)
current report()["Local Data Filter"] << select();
current report()["Summary Statistics"] << select();

不幸的是,德國 JSL 開發人員將在「屬性」選單中看到此資訊:

一位說英語的同事很可能會看到:

回覆:顯示樹索引 - 它是如何運作的?更改 OutlineBox 標題的方式有很多種,讓我們試試看:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "test",
V Splitter Box(
Distribution(
Continuous Distribution(
Column( :height )
),
Local Data Filter( ),
Local Data Filter,
SendToReport(
Dispatch( {}, "Distributions", OutlineBox, {Set Title( "hello" )} ),
Dispatch( {"height"}, "Summary Statistics", OutlineBox,
{Set Title( "statistics" )}
),
Dispatch( {}, "Local Data Filter", OutlineBox, {Set Title( "LDF" )} )
)
),
Distribution(
Continuous Distribution(
Column( :height )
),
Local Data Filter( )
)
)
);
current report()["Local Data Filter"] << select();
current report()["Summary Statistics"] << select();確實:

如果透過向報表層發送調度訊息來改變標題,報表層也會透過原來的標題找到顯示框。
回覆:顯示樹索引 - 它是如何運作的?在某些情況下,DisplayBox 下標就像
current report()["Summary Statistics"]
給出了令人驚訝的結果。透過字串存取哪些資訊?
在這個例子中,
JMP 找不到第一個本地資料過濾器 - 可能是因為它的標題更改為“LDF”?
JMP 找到第一個總計統計資料 -儘管其標題已變更為「統計資料」。

我首先透過圖形產生器輪廓框注意到這種行為。即使標題發生更改,JMP 也能找到它。
當時,我認為 JMP 正在尋找 @helpKey - 這就是為什麼它仍然可以找到它。
但是摘要統計(在此處的範例中)沒有 helpKey。
因此,JMP 會發現使用者不可見的內容。
如果它是本地資料過濾器,它就找不到它...
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "test",
V Splitter Box(
Distribution(
Continuous Distribution(
Column( :height )
),
Local Data Filter(Title( "LDF" ) ),
Local Data Filter,
SendToReport(
Dispatch( {}, "Distributions", OutlineBox, {Set Title( "hello" )} ),
Dispatch( {"height"}, "Summary Statistics", OutlineBox,
{Set Title( "statistics" )}
)
)
),
Distribution(
Continuous Distribution(
Column( :height )
),
Local Data Filter( )
)
)
);
current report()["Local Data Filter"] << select();
//current report()["Distributions"] << select();
current report()["Summary Statistics"] << select();