明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2268|回复: 11

求助:尺寸标注

  [复制链接]
发表于 2005-11-5 09:39 | 显示全部楼层 |阅读模式
本帖最后由 作者 于 2005-11-7 21:45:03 编辑

各位高手请帮忙

由标注尺寸可否求得该尺寸的dimtad dimtih dimtoh等参数

发表于 2005-11-5 10:28 | 显示全部楼层
vba可以
 楼主| 发表于 2005-11-5 11:14 | 显示全部楼层

re

lisp可以吗?

发表于 2005-11-5 11:39 | 显示全部楼层
可以的,先找出标注的样式,再找到其数值不就可以了吗?
 楼主| 发表于 2005-11-5 12:01 | 显示全部楼层

re

yedajiang发表于2005-11-5 11:39:00可以的,先找出标注的样式,再找到其数值不就可以了吗?


能详细一点吗?怎样找出标注的样式呢?

 楼主| 发表于 2005-11-6 00:09 | 显示全部楼层

白等一天

发表于 2005-11-6 00:32 | 显示全部楼层

你看看cad的帮助中dxf

或 vba函数中dim实体部分

 楼主| 发表于 2005-11-7 09:06 | 显示全部楼层

entget函数不显示这些dxf编码,

100

Subclass marker (AcDbDimStyleTableRecord)

2

Dimension style name

70

Standard flag values (bit-coded values):
16 = If set, table entry is externally dependent on an xref
32 = If both this bit and bit 16 are set, the externally dependent xref has been successfully resolved
64 = If set, the table entry was referenced by at least one entity in the drawing the last time the drawing was edited. (This flag is for the benefit of AutoCAD® commands. It can be ignored by most programs that read DXF™ files and need not be set by programs that write DXF files)

3

DIMPOST

4

DIMAPOST

5

DIMBLK (obsolete, now object ID)

6

DIMBLK1 (obsolete, now object ID)

7

DIMBLK2 (obsolete, now object ID)

40

DIMSCALE

41

DIMASZ

42

DIMEXO

43

DIMDLI

44

DIMEXE

45

DIMRND

46

DIMDLE

47

DIMTP

48

DIMTM

140

DIMTXT

141

DIMCEN

142

DIMTSZ

143

DIMALTF

144

DIMLFAC

145

DIMTVP

146

DIMTFAC

147

DIMGAP

148

DIMALTRND

71

DIMTOL

72

DIMLIM

73

DIMTIH

74

DIMTOH

75

DIMSE1

76

DIMSE2

77

DIMTAD

78

DIMZIN

79

DIMAZIN

170

DIMALT

171

DIMALTD

172

DIMTOFL

173

DIMSAH

174

DIMTIX

175

DIMSOXD

176

DIMCLRD

177

DIMCLRE

178

DIMCLRT

179

DIMADEC

270

DIMUNIT (obsolete, now use DIMLUNIT AND DIMFRAC)

271

DIMDEC

272

DIMTDEC

273

DIMALTU

274

DIMALTTD

275

DIMAUNIT

276

DIMFRAC

277

DIMLUNIT

278

DIMDSEP

279

DIMTMOVE

280

DIMJUST

281

DIMSD1

282

DIMSD2

283

DIMTOLJ

284

DIMTZIN

285

DIMALTZ

286

DIMALTTZ

287

DIMFIT (obsolete, now use DIMATFIT and DIMTMOVE)

288

DIMUPT

289

DIMATFIT

340

DIMTXSTY (handle of referenced STYLE)

341

DIMLDRBLK (handle of referenced BLOCK)

342

DIMBLK (handle of referenced BLOCK)

343

DIMBLK1 (handle of referenced BLOCK)

344

DIMBLK2 (handle of referenced BLOCK)

371

DIMLWD (lineweight enum value)

372

DIMLWE (lineweight enum value)

发表于 2005-11-7 12:00 | 显示全部楼层

(entget  e '("*"))

可能有些在扩展数据里面。

没有的按默认值,可直接 getvar 获得

发表于 2005-11-7 12:23 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-4 02:14 , Processed in 0.369318 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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