【机器视觉】 dev_close_tool算子

00. 目录

文章目录

    • 00. 目录
    • 01. 概述
    • 02. 签名
    • 03. 描述
    • 04. 注意
    • 05. 参数
    • 06. 结果
    • 07. 附录

01. 概述

dev_close_tool - 关闭指定的工具。

02. 签名

dev_close_tool( : : ToolId : )

03. 描述

dev_close_tool通过ToolId关闭tool。 ToolID除了使用在打开tool时给予的ToolId,还可以使用在dev_open_tool中使用的名称。 在这种情况下,只要符合ToolID参数的工具都可以使用此算子关闭。

原文描述

​ dev_close_tool closes the tool with the ToolId. Instead of using the ToolId, given during opening the tool, you can use the name that has to be used in dev_open_tool. In that case a arbitrary tool, which fits the parameter ToolId, is used.

04. 注意

此算子不支持代码导出。

05. 参数

ToolId (input_control)   dev_tool → (string)
  Tool identifier.

06. 结果

如果指定参数的值正确,则dev_open_tool返回2(H_MSG_TRUE)。 否则会引发异常并返回错误代码。

HDevelop例程

dev_open_tool.hdev Open and adjust tools in HDevelop。

程序示例

dev_open_tool ('matching_assistant', 0, 0, 'default','default', ToolId)
dev_close_window (ToolId)

07. 附录

7.1 机器视觉博客汇总
网址:https://dengjin.blog.csdn.net/article/details/116837497


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部