查看: 1785|回复: 4
收起左侧

[Tribon] structure二次开发问题

[复制链接]
发表于 2011-3-25 21:21 | 显示全部楼层 |阅读模式 来自: 中国湖北武汉
在structure模块中我想连续删除多个structure,但是系统提供的delete功能只能一次删一个,很麻烦并且不好操作。于是,我用kcs-struct提供的delete函数尝试着去写一个程序,它可以从数据库中删除,但是出现一个问题:在当前的视图中仍然可以看到已经删除的structure,(kcs_draft.dwg_validate()函数也试过),请高手指点!谢谢了!
回复

使用道具 举报

龙船学院
发表于 2011-3-26 14:45 | 显示全部楼层 来自: 中国上海
谁说一次只能删一个
回复 支持 反对

使用道具 举报

发表于 2011-3-27 16:18 | 显示全部楼层 来自: 中国天津
回复 1# wudaoguo

试试app_window_refresh()

app_window_refresh()

This function is used to make output to the application window immediately visible. Normally, the user should not bother about this: such "refreshing" is done automatically whenever the Tribon application stops and waits for user input. However, when the user interaction is (temporarily or permanently) handled by tools outside the Vitesse UI interface (e.g. when using a wxPython script) this function might be necessary to refresh the application window.

Input parameters:

None.

Output parameters:

None.

Returned value

None.

Exceptions:

None.

回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-3-27 20:51 | 显示全部楼层 来自: 中国湖北武汉
回复 3# yang827


    很高兴可以看到你的回复,我得仔细看下,很久之前就开始关注你的新浪博客了,很欣赏你能把这么多心得和大伙一起分享,谢谢了!
回复 支持 反对

使用道具 举报

发表于 2011-4-8 14:25 | 显示全部楼层 来自: 中国江苏扬州
学习中……

评分

参与人数 1 -4 -20 收起 理由
水平 -4 -20 警告

查看全部评分

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|标签|免责声明|龙船社区

GMT+8, 2024-9-20 22:35

Powered by Imarine

Copyright © 2006, 龙船社区

快速回复 返回顶部 返回列表