标注样式替代 (DXF)
标注样式替代可适用于标注、引线和公差图元。适用于这些图元的所有替代都将作为扩展数据存储在图元中。替代标注变量组码和相关值包含在组 1002 控制字符串中。下例显示 DIMTOL 和 DIMCLRE 变量已被替代的标注图元的扩展数据。 (setq diment (car (entsel))) ; Select dimension entity
(setq elst (entget diment '("ACAD"))) ; Get entity definition list
(assoc -3 elst) ; Extract xdata only
此段代码返回下列内容: (-3 ("ACAD" Start of the ACAD APPID section of xdata
(1000 . "DSTYLE") (1002 . "{") Beginning of the dimstyle subsection
(1070 . 177) (1070 . 3) The DIMCLRE (code 177) override + value (3)
(1070 . 71) (1070 . 1) The DIMTOL (code 71) override + value (1)
(1002 . "}") )) End dimstyle subsection and ACAD section
|
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-11-1 12:17
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.