界面交互模块
      更新时间:2024-12-12 17:08  15112
            15112
            0
            0
            文档错误过时,
           我要反馈
            文档错误过时,
           我要反馈
    15112
            15112
          | 函数 | 
| gkl_json script_set_unit (const gkl_json ¶m, gkl_string &errorStr) 设置软件 单位方式 更多... | 
| gkl_json script_layertree_mount_steps (const gkl_json ¶m, gkl_string &errorStr) 设置项目树上挂载的step 更多... | 
| gkl_json script_refresh_layer_ui (const gkl_json ¶m, gkl_string &errorStr) 刷新左侧层管理列表 更多... | 
| 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) 直接执行页面UI界面的命令名字 更多... | 
详细描述
函数说明
◆ 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 )
直接执行页面UI界面的命令名字
参见
参数
| [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 )
设置项目树上挂载的step
参见
参数
| [in]jsonarray     [
        "orig",
        "edit",
        "set"
    ]
 | 
返回
bool 设置成功返回true
◆ script_refresh_layer_ui()
gkl_json script_refresh_layer_ui(const gkl_json & param,gkl_string & errorStr )
刷新左侧层管理列表
参见
返回
json_null
◆ script_set_unit()
gkl_json script_set_unit(const gkl_json & param,gkl_string & errorStr )
设置软件 单位方式
参见
参数
[in]string"inch" 或者 "mm"
返回
json_null
◆ script_show_application()
gkl_json script_show_application(const gkl_json & param,gkl_string & errorStr )
APP界面影藏
参见
参数
[in]booltrue显示 false影藏
◆ script_show_profile()
gkl_json script_show_profile(const gkl_json & param,gkl_string & errorStr )
显示profile
参见
参数
| [in]json    {
        "stepname":"set",           ----step名字
        "show":true                 ----profile显示状态
    }
 | 
返回
json_null
◆ script_show_repeat()
gkl_json script_show_repeat(const gkl_json & param,gkl_string & errorStr )
显示repeat
参见
参数
| [in]json    {
        "stepname":"set",           ----step名字
        "show":true                 ----profile显示状态
    }
 | 
返回
json_null
- PCB帮助文档
- SMT帮助文档
- 钢网帮助文档
- PCB讨论
- SMT讨论
- 钢网讨论





















