明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1519|回复: 1

[VBA]mline型式设定

[复制链接]
发表于 2006-4-29 19:58:00 | 显示全部楼层 |阅读模式

mline比例变数已经为"6"了为何会出的线还是为"1"的宽??
奇怪!!@#!@#
Dim objEnt As AcadMLine
Dim points(17) As Double
' " setup initial points
points(0) = 0: points(1) = 0: points(2) = 0
points(3) = 10: points(4) = 0: points(5) = 0
points(6) = 10: points(7) = 10: points(8) = 0
points(9) = 5: points(10) = 10: points(11) = 0
points(12) = 5: points(13) = 5: points(14) = 0
points(15) = 0: points(16) = 5: points(17) = 0
ThisDrawing.SetVariable "CMLSCALE", 6
Set objEnt = ThisDrawing.ModelSpace.AddMLine(points)

vba中竟然找不到此语句的用法~~
CMLJUST, CMLSCALE, and CMLSTYLE &MLSTYLE
mlstyle要设为起始终点两边封闭(直线或外弧)要怎么设变数呢?
:~(


发表于 2006-4-30 10:26:00 | 显示全部楼层

改改Linetypescale属性试试?

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

本版积分规则

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

GMT+8, 2024-11-27 04:35 , Processed in 0.147843 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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