界面交互模塊
更新時(shí)間:2024-12-12 17:08
14191
0
文檔錯(cuò)誤過時(shí),
我要反饋

函數(shù) |
gkl_json script_set_unit (const gkl_json ¶m, gkl_string &errorStr) 設(shè)置軟件 單位方式 更多... |
gkl_json script_layertree_mount_steps (const gkl_json ¶m, gkl_string &errorStr) 設(shè)置項(xiàng)目樹上掛載的step 更多... |
gkl_json script_refresh_layer_ui (const gkl_json ¶m, gkl_string &errorStr) 刷新左側(cè)層管理列表 更多... |
gkl_json script_show_profile (const gkl_json ¶m, gkl_string &errorStr) 顯示profile 更多... |
gkl_json script_show_repeat (const gkl_json ¶m, gkl_string &errorStr) 顯示repeat 更多... |
gkl_json script_show_application (const gkl_json ¶m, gkl_string &errorStr) APP界面影藏 更多... |
gkl_json script_ask_locator (const gkl_json ¶m, gkl_string &errorStr) 請(qǐng)求一個(gè)點(diǎn)坐標(biāo),帶捕捉功能,鼠標(biāo)帶十字叉 更多... |
gkl_json script_ask_position (const gkl_json ¶m, gkl_string &errorStr) 請(qǐng)求一個(gè)點(diǎn)坐標(biāo),不帶捕捉功能,鼠標(biāo)到十字叉 更多... |
gkl_json script_ask_view_rect (const gkl_json ¶m, gkl_string &errorStr) 請(qǐng)求一個(gè)矩形,鼠標(biāo)選取一個(gè)矩形范圍,鼠標(biāo)呈框 更多... |
gkl_json script_call_ui_command (const gkl_json ¶m, gkl_string &errorStr) 直接執(zhí)行頁面UI界面的命令名字 更多... |
詳細(xì)描述
函數(shù)說明
◆ script_ask_locator()
gkl_json script_ask_locator(const gkl_json & param,gkl_string & errorStr )
請(qǐng)求一個(gè)點(diǎn)坐標(biāo),帶捕捉功能,鼠標(biāo)帶十字叉
參見
返回
json
{ "x":1.02, "y":-0.3 }
◆ script_ask_position()
gkl_json script_ask_position(const gkl_json & param,gkl_string & errorStr )
請(qǐng)求一個(gè)點(diǎn)坐標(biāo),不帶捕捉功能,鼠標(biāo)到十字叉
參見
返回
json
{ "x":1.02, "y":-0.3 }
◆ script_ask_view_rect()
gkl_json script_ask_view_rect(const gkl_json & param,gkl_string & errorStr )
請(qǐng)求一個(gè)矩形,鼠標(biāo)選取一個(gè)矩形范圍,鼠標(biāo)呈框
參見
返回
json
{ "left":-1.02, "right":-0.3, "bottom":1.2, "top":1.5 }
◆ script_call_ui_command()
gkl_json script_call_ui_command(const gkl_json & param,gkl_string & errorStr )
直接執(zhí)行頁面UI界面的命令名字
參見
參數(shù)
[in]json { "command_name":"cam_show_addfeature_ui" ----命令名字 *} |
返回
true成功,false 失敗
◆ script_layertree_mount_steps()
gkl_json script_layertree_mount_steps(const gkl_json & param,gkl_string & errorStr )
設(shè)置項(xiàng)目樹上掛載的step
參見
參數(shù)
[in]jsonarray [ "orig", "edit", "set" ] |
返回
bool 設(shè)置成功返回true
◆ script_refresh_layer_ui()
gkl_json script_refresh_layer_ui(const gkl_json & param,gkl_string & errorStr )
刷新左側(cè)層管理列表
參見
返回
json_null
◆ script_set_unit()
gkl_json script_set_unit(const gkl_json & param,gkl_string & errorStr )
設(shè)置軟件 單位方式
參見
參數(shù)
[in]string"inch" 或者 "mm"
返回
json_null
◆ script_show_application()
gkl_json script_show_application(const gkl_json & param,gkl_string & errorStr )
APP界面影藏
參見
參數(shù)
[in]booltrue顯示 false影藏
◆ script_show_profile()
gkl_json script_show_profile(const gkl_json & param,gkl_string & errorStr )
顯示profile
參見
參數(shù)
[in]json { "stepname":"set", ----step名字 "show":true ----profile顯示狀態(tài) } |
返回
json_null
◆ script_show_repeat()
gkl_json script_show_repeat(const gkl_json & param,gkl_string & errorStr )
顯示repeat
參見
參數(shù)
[in]json { "stepname":"set", ----step名字 "show":true ----profile顯示狀態(tài) } |
返回
json_null
- PCB幫助文檔
- SMT幫助文檔
- 鋼網(wǎng)幫助文檔
- PCB討論
- SMT討論
- 鋼網(wǎng)討論