This website requires JavaScript.

久久婷婷香蕉热狠狠综合,欧美性受xxxx黑人xxxx,自偷自拍亚洲综合精品麻豆,午夜福利在线永久视频

選擇模塊
更新時(shí)間:2024-12-12 17:09
11821
0
文檔錯(cuò)誤過時(shí),
我要反饋

函數(shù)

gkl_json script_filter_select (const gkl_json &param, gkl_string &errorStr) 過濾選擇 更多...

 gkl_json script_set_filter_param (const gkl_json &param, gkl_string &errorStr) 設(shè)置過濾選擇參數(shù) 更多...

 gkl_json script_reset_filter_param (const gkl_json &param, gkl_string &errorStr) 重置過濾選擇參數(shù),參數(shù)復(fù)位 更多...

 gkl_json script_reference_select (const gkl_json &param, gkl_string &errorStr) 參考選擇 更多...

 gkl_json script_clear_selection (const gkl_json &param, gkl_string &errorStr) 清空選中元素 更多...

 gkl_json script_select_features (const gkl_json &param, gkl_string &errorStr) 選中指定的feature 更多...

 gkl_json script_rect_select (const gkl_json &param, gkl_string &errorStr) 框選feature 更多...

 gkl_json script_line_select (const gkl_json &param, gkl_string &errorStr) 線選feature 更多...

 gkl_json script_polygon_select (const gkl_json &param, gkl_string &errorStr) 多邊形選 更多...

 gkl_json script_reverse_select (const gkl_json &param, gkl_string &errorStr) 反選 更多...

 詳細(xì)描述

函數(shù)說明

◆ script_clear_selection()

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

清空選中元素

參見

script_clear_selection()

返回

◆ script_filter_select()

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

過濾選擇

參見

script_filter_select()

參數(shù)

[in]json        {
            "aperture_passed" : "r5,r10",                       ----通過光圈,光圈之間用逗號,分開
            "aperture_unpassed" : "r4,r1",                      ----不通過光圈
            "append" : false,                                   ----是否追加選擇
            "enable_attibute":true,                             ----true開啟屬性過濾,false關(guān)閉屬性過濾
            "attribute":{".drill":"plated"},                    ----屬性匹配項(xiàng),參數(shù)非必填項(xiàng)
            "board" : 0,                                        ----過濾范圍:0為全部元素 1為板內(nèi)元素 2為板外元素
            "in_selected" : false,                              ----當(dāng)前選擇是否針對現(xiàn)有選擇集,true針對所有元素,false只針對選中的元素過濾
            "filter_neg" : true,                                    ----負(fù)性元素
            "filter_pos" : true,                                    ----正性元素
            "filter_arc" : true,                                    ----弧線類型,true為通過,false不通過
            "filter_dim" : true,                                    ----標(biāo)注類型
            "filter_pad" : true,                                    ----PAD類型
            "filter_segment" : true,                                ----線段類型
            "filter_surface" : true,                                ----surface類型
            "filter_rout":true,                                     ----鑼帶類型
            "filter_txt" : true                                 ----文本類型
        }

返回

◆ script_line_select()

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

線選feature

參見

script_line_select()

參數(shù)

[in]json    {
    "start":
    {
    "x":0.0,
    "y":0.0
    },
    "end":
    {
    "x":20.0,
    "y":-12.5
    },
    "select_status":0           ------0 選中當(dāng)前,其他取消選擇,1、追加選擇 2、取消選中元素
    }

返回

◆ script_polygon_select()

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

多邊形選

參見

script_polygon_select()

參數(shù)

[in]json    {
    "polygon":
        [
            {"x":0.0,"y":0.0},
            {"x":0.0,"y":1.0},
            {"x":2.0,"y":0.0},
        ]
    ,
    "select_status":0           ------0 選中當(dāng)前,其他取消選擇,1、追加選擇 2、取消選中元素
    }

返回

◆ script_rect_select()

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

框選feature

參見

script_rect_select()

參數(shù)

[in]json    {
        "left":0.2,                 ------矩形選擇范圍
        "right":0.3,
        "bottom":0.6,
        "top":1.2,
        "repeat":fasle,             ------true 只選擇repeat,false只選擇層中 feature
        "cross":false,              ------true 交疊選 false包含選
        "select_status":0           ------0 選中當(dāng)前,其他取消選擇,1、追加選擇 2、取消選中元素
    }

返回

◆ script_reference_select()

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

參考選擇

參見

script_reference_select()

參數(shù)

[in]json參考被選中的元素,用戶需要設(shè)置過濾選項(xiàng)實(shí)現(xiàn)

    {
        "mode" : 1,                             ---- 1為 覆蓋,2為接觸 3為未接觸 4為 被包含
        "refstep" : "edit"                      -----參考層所在step名字
        "reflayer" : ["ts","bs"],               -----參考層數(shù)組
        "include_aperture" : "",                ---- 包含 symbol 中間用逗號分開
        "exclude_aperture" : "",
        "filter_pos" : true,                    ---- 正性元素是否參與參考 true參與,false不參與
        "filter_neg" : true,                    ---- 負(fù)性元素是否參與參考 true參與,false不參與

"filter_arc" : true, ----弧線類型,true為通過,false不通過 "filter_dim" : true, ----標(biāo)注類型 "filter_pad" : true, ----PAD類型 "filter_segment" : true, ----線段類型 "filter_surface" : true, ----surface類型 "filter_rout":true, ----鑼帶類型 "filter_txt" : true ----文本類型

        "enable_attibute":true,                             ----true開啟屬性過濾,false關(guān)閉屬性過濾
        "attribute":{".drill":"plated"},                    ----屬性匹配項(xiàng),參數(shù)非必填項(xiàng)
    }

返回

◆ script_reset_filter_param()

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

重置過濾選擇參數(shù),參數(shù)復(fù)位

參見

script_reset_filter_param()

參數(shù)

[in]json

◆ script_reverse_select()

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

反選

參見

script_reverse_select()

返回

◆ script_select_features()

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

選中指定的feature

參見

script_select_features()

參數(shù)

[in]array    [
        {"class":21,"id":1420},
        {"class":17,"id":56324}
    ]

返回

◆ script_set_filter_param()

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

設(shè)置過濾選擇參數(shù)

參見

script_set_filter_param()

參數(shù)

[in]json

互動(dòng)評論 0
注意:此留言僅作為嘉立創(chuàng)與客戶日常交流之用,回復(fù)不是很及時(shí),急切問題請聯(lián)系我司工作人員處理!
登錄注冊 后才可以留言哦!
  • PCB幫助文檔
  • SMT幫助文檔
  • 鋼網(wǎng)幫助文檔
  • PCB討論
  • SMT討論
  • 鋼網(wǎng)討論