This website requires JavaScript.

界面交互模块
2022-09-13 17:35 2177 0

函数

gkl_json script_set_unit (const gkl_json &param, gkl_string &errorStr) 设置软件 单位方式 更多...

 gkl_json script_layertree_mount_steps (const gkl_json &param, gkl_string &errorStr) 设置项目树上挂载的step 更多...

 gkl_json script_refresh_layer_ui (const gkl_json &param, gkl_string &errorStr) 刷新左侧层管理列表 更多...

 gkl_json script_show_profile (const gkl_json &param, gkl_string &errorStr) 显示profile 更多...

 gkl_json script_show_repeat (const gkl_json &param, gkl_string &errorStr) 显示repeat 更多...

 gkl_json script_show_application (const gkl_json &param, gkl_string &errorStr) APP界面影藏 更多...

 gkl_json script_ask_locator (const gkl_json &param, gkl_string &errorStr) 请求一个点坐标,带捕捉功能,鼠标带十字叉 更多...

 gkl_json script_ask_position (const gkl_json &param, gkl_string &errorStr) 请求一个点坐标,不带捕捉功能,鼠标到十字叉 更多...

 gkl_json script_ask_view_rect (const gkl_json &param, gkl_string &errorStr) 请求一个矩形,鼠标选取一个矩形范围,鼠标呈框 更多...

 gkl_json script_call_ui_command (const gkl_json &param, gkl_string &errorStr) 直接执行页面UI界面的命令名字 更多...

 详细描述

函数说明

◆ script_ask_locator()

gkl_json script_ask_locator(const gkl_json & param,gkl_string & errorStr )

请求一个点坐标,带捕捉功能,鼠标带十字叉

参见

script_ask_locator()

返回

json

    {
        "x":1.02,
        "y":-0.3
    }

◆ script_ask_position()

gkl_json script_ask_position(const gkl_json & param,gkl_string & errorStr )

请求一个点坐标,不带捕捉功能,鼠标到十字叉

参见

script_ask_position()

返回

json

    {
        "x":1.02,
        "y":-0.3
    }

◆ script_ask_view_rect()

gkl_json script_ask_view_rect(const gkl_json & param,gkl_string & errorStr )

请求一个矩形,鼠标选取一个矩形范围,鼠标呈框

参见

script_ask_view_rect()

返回

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界面的命令名字

参见

script_call_ui_command()

参数

[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

参见

script_layertree_mount_steps

参数

[in]jsonarray

    [
        "orig",
        "edit",
        "set"
    ]

返回

bool 设置成功返回true

◆ script_refresh_layer_ui()

gkl_json script_refresh_layer_ui(const gkl_json & param,gkl_string & errorStr )

刷新左侧层管理列表

参见

script_refresh_layer_ui()

返回

json_null

◆ script_set_unit()

gkl_json script_set_unit(const gkl_json & param,gkl_string & errorStr )

设置软件 单位方式

参见

script_set_unit()

参数

[in]string"inch" 或者 "mm"

返回

json_null

◆ script_show_application()

gkl_json script_show_application(const gkl_json & param,gkl_string & errorStr )

APP界面影藏

参见

script_show_application()

参数

[in]booltrue显示 false影藏

◆ script_show_profile()

gkl_json script_show_profile(const gkl_json & param,gkl_string & errorStr )

显示profile

参见

script_show_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

参见

script_show_repeat()

参数

[in]json    {
        "stepname":"set",           ----step名字
        "show":true                 ----profile显示状态
    }

返回

json_null

互动评论 0

注意:此留言仅作为嘉立创与客户日常交流之用,回复不是很及时,急切问题请联系我司工作人员处理!
登录注册 后才可以留言哦!