明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1678|回复: 4

想通过VB程序,更改CAD系统设置,怎么办?

[复制链接]
发表于 2003-9-19 15:18:00 | 显示全部楼层 |阅读模式
想通过VB程序,更改CAD系统设置,比如标注样式的更改,字体,高度等。
谢谢
发表于 2003-9-19 22:57:00 | 显示全部楼层
如果你对对象模型有深的认识,这些问题都可以简单解决。
发表于 2003-9-20 00:25:00 | 显示全部楼层
本站有这方面的教程,去看看!
 楼主| 发表于 2003-9-20 01:17:00 | 显示全部楼层
收到,谢谢了
哈哈
发表于 2003-9-24 18:05:00 | 显示全部楼层
可以象这样写成一个文件
Print #1, "filedia"
Print #1, "0"
Print #1, "snap"
Print #1, "off"
Print #1, "osnap"
Print #1, "off"
Print #1, "grid"
Print #1, "off"
Print #1, "ortho"
Print #1, "off"
Print #1, "osnapcoord"
Print #1, "1"
Print #1, "trackpath"
Print #1, "3"
Print #1, "blipmode"
Print #1, "off"

'基本设置
Print #1, "layer"
Print #1, "m"
Print #1, "0"
Print #1, "l"
Print #1, "centerx2"
Print #1, ""
Print #1, "color"
Print #1, "1"
Print #1, ""
Print #1, ""
Print #1, "layer"
Print #1, "m"
Print #1, "1"
Print #1, "l"
Print #1, "dashed"
Print #1, ""
Print #1, "color"
Print #1, "2"
Print #1, ""
Print #1, ""
Print #1, "layer"
Print #1, "m"
Print #1, "2"
Print #1, "l"
Print #1, "coutinuous"
Print #1, ""
Print #1, "color"
Print #1, "5"
Print #1, ""
Print #1, ""
Print #1, "layer"
Print #1, "m"
Print #1, "3"
Print #1, "l"
Print #1, "coutinuous"
Print #1, ""
Print #1, "color"
Print #1, "7"
Print #1, ""
Print #1, ""
Print #1, "layer"
Print #1, "m"
Print #1, "4"
Print #1, "l"
Print #1, "coutinuous"
Print #1, ""
Print #1, "color"
Print #1, "7"
Print #1, ""
Print #1, ""
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-28 12:44 , Processed in 0.179399 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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