明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1442|回复: 2

[求教]如何在VB中设定AutoCAD的标注和线类型

[复制链接]
发表于 2004-6-11 22:43:00 | 显示全部楼层 |阅读模式
本帖最后由 作者 于 2004-6-12 8:44:43 编辑

1 线的类型:实线和虚线



2 标注样式的中:直线和箭头中 尺寸界限的起点偏移量 箭头的大小


        文字中 文字高度


麻烦哪位大哥给下代码 多谢多谢


 楼主| 发表于 2004-6-12 08:42:00 | 显示全部楼层
upupup
发表于 2004-6-12 14:03:00 | 显示全部楼层
1、Layer属性更改图层 2、

The active dimension style determines the appearance of new dimensions that are created in the drawing. To change the style of an existing dimension, use the MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_stylename.htm" target="_blank" >StyleName property found on the dimension.

To control the settings of the current document overrides, use the dimensioning system variables. See System Variables in the AutoCAD Command Reference for a list of dimensioning system variables.

When you change a dimensioning system variable, you are actually setting a document override for the active dimension style; you are not changing the active dimension style itself. This means that all newly created dimensions will still be created with the active dimension style only and will not reflect the overrides from the system variables. The overrides from the system variables will not be recognized on new dimensions until the active dimension style is updated. To change the settings of any dimension style, use the MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_copyfrom.htm" target="_blank" >CopyFrom method. This method copies a dimension style configuration, including overrides, from a document, dimension, or other dimension style.

Dimensions created via the AutoCAD user interface are created with the active dimension style plus all document overrides. Dimensions created via ActiveX are created with the active dimension style only. To have the dimensions created via ActiveX take on the document overrides, use the CopyFrom method to copy the dimension style from the document to the active dimension style. This process will copy all existing overrides into the active dimension style.

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

本版积分规则

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

GMT+8, 2024-11-28 05:42 , Processed in 0.165507 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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