乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 27|回复: 1

[VBA]mline型式设定

[复制链接]

14

主题

25

帖子

2

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
81
发表于 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要设为起始终点两边封闭(直线或外弧)要怎么设变数呢?
:~(

回复

使用道具 举报

1

主题

157

帖子

2

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
161
发表于 2006-4-30 10:26:00 | 显示全部楼层
改改Linetypescale属性试试?
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-7-5 17:19 , Processed in 1.302284 second(s), 67 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表