明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2170|回复: 7

请问能否编一个小程序批量处理多个文件的无用元素。

[复制链接]
发表于 2003-10-25 12:22 | 显示全部楼层 |阅读模式
我是学工程的经常要拼接大量的图形,因为原图文件由不同的人员编辑存在很多的无用元素。请问能否编一个小程序批量处理多个文件的无用元素。
发表于 2003-10-25 13:10 | 显示全部楼层
怎样的元素是没有用的呢?
你这样等于什么都没说,无法回答
发表于 2003-10-26 22:30 | 显示全部楼层
如果是一些图元的话可以用OBJECTDBX来处理!
发表于 2003-11-13 23:19 | 显示全部楼层
use "purge" command!
发表于 2003-11-15 14:36 | 显示全部楼层
OBJECTDBX可沒有purge指令!
发表于 2003-11-16 10:43 | 显示全部楼层
是啊,objectdbx好象不支持purge和sendcommand!不知道objectdbx都支持哪些方法?
发表于 2003-11-16 11:49 | 显示全部楼层
Here are some assumptions that I am going on from my results.  If anyone can
verify them I would appreciate it.
1.) You cannot use setvariable or getvariable functions in the ObjectDBX
file, but commands that depend on these settings adopt the values from the
activedocument in the AutoCAD application.
2.) There is no ActiveUCS, active layer, or active color in the ObjectDBX
file, and these again are adopted from the activedocument in the AutoCAD
application.
3.) You can only use the saveas method to save the ObjectDBX file.(但會失去PreviewThumbnail)
4.) You cannot use the close method to close an ObjectDBX file.
5.) When you use the open method on the dbx_document (opened ObjectDBX file)
it closes the existing file without saving it.  ObjectDBX essentially works
with only 1 drawing file at a time.
发表于 2003-11-16 13:19 | 显示全部楼层
thanks
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-1 01:46 , Processed in 0.364163 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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