界面交互模塊
更新時間:2024-12-12 17:08
14093
0
文檔錯誤過時,
我要反饋

函數(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è)置項目樹上掛載的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) 請求一個點坐標,帶捕捉功能,鼠標帶十字叉 更多... |
gkl_json script_ask_position (const gkl_json ¶m, gkl_string &errorStr) 請求一個點坐標,不帶捕捉功能,鼠標到十字叉 更多... |
gkl_json script_ask_view_rect (const gkl_json ¶m, gkl_string &errorStr) 請求一個矩形,鼠標選取一個矩形范圍,鼠標呈框 更多... |
gkl_json script_call_ui_command (const gkl_json ¶m, gkl_string &errorStr) 直接執(zhí)行頁面UI界面的命令名字 更多... |
詳細描述
函數(shù)說明
◆ script_ask_locator()
gkl_json script_ask_locator(const gkl_json & param,gkl_string & errorStr )
請求一個點坐標,帶捕捉功能,鼠標帶十字叉
參見
返回
json
{ "x":1.02, "y":-0.3 }
◆ script_ask_position()
gkl_json script_ask_position(const gkl_json & param,gkl_string & errorStr )
請求一個點坐標,不帶捕捉功能,鼠標到十字叉
參見
返回
json
{ "x":1.02, "y":-0.3 }
◆ script_ask_view_rect()
gkl_json script_ask_view_rect(const gkl_json & param,gkl_string & errorStr )
請求一個矩形,鼠標選取一個矩形范圍,鼠標呈框
參見
返回
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è)置項目樹上掛載的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)討論
- 技術(shù)指導(dǎo):AD導(dǎo)出GERBER時提示PCB文件尺寸過大的解決方法
- PCB如何返單?
- 技術(shù)指導(dǎo):沉銅包邊工藝設(shè)計說明
- 設(shè)計優(yōu)化:如何避免相鄰板不規(guī)則邊拼板鑼不完全分板有尖角
- 設(shè)計優(yōu)化:避免噴錫爆孔宜做沉金
- PCB訂單以經(jīng)付了款或安排了生產(chǎn)如何修改地址【修改收貨地址 】
- 小嘉掃雷:AD\PADS軟件不兼容常見問題點
- 如何刪附PCB訂單中的文件【PCB訂單列表 --3.刪除PCB文件】
- 設(shè)計優(yōu)化:鉆孔制作案例分析及解決方法
- 制程工藝:PCB中Via與Pad孔的區(qū)別及公差說明