OCCTProxy

occtProxy内核文件接口文档


DeleteTool

<p><strong>接口名称</strong>:DeleteTool</p> <p><strong>接口形式</strong>:Dll</p> <p><strong>请求方式</strong>:调用<code>LoadedModelWrapper</code>的<code>DeleteTool</code>方法</p> <p><strong>接口描述</strong>: 从当前环境中完全删除指定的夹具及其所有刀头。</p> <p><strong>返回数据格式</strong>:</p> <pre><code class="language-json"> { &amp;quot;ResultFlag&amp;quot;: int, &amp;quot;ResultMsg&amp;quot;: String, // 操作结果信息或错误消息 &amp;quot;Data&amp;quot;: NULL }</code></pre> <p><strong>请求参数</strong>:</p> <ul> <li><code>int toolIdx</code>:要删除的夹具的索引或ID。</li> </ul> <p><strong>参数说明</strong>:</p> <ul> <li><code>toolIdx</code>:一个整数,用于标识要删除的夹具。这个值应该是已经存在于当前环境中的夹具的索引或ID。</li> </ul> <p><strong>注意事项</strong>:</p> <ul> <li>在调用此接口之前,请确保<code>LoadedModelWrapper</code>实例已经正确初始化,并且DLL已经加载。</li> <li>如果传入的<code>toolIdx</code>无效,或者指定的夹具不存在于当前环境中,<code>ResultFlag</code> 将不为0,并且 <code>ResultMsg</code> 将包含错误信息。</li> <li>删除夹具时,该夹具及其所有刀头都将从当前环境中移除,并且从内存中释放。</li> </ul>

页面列表

ITEM_HTML