明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1733|回复: 3

问个很弱的问题

[复制链接]
发表于 2004-5-7 20:46:00 | 显示全部楼层 |阅读模式
Dim mode As Variant
mode = acSelectionSetFence

Dim gpCode(0) As Integer
Dim dataValue(0) As Variant
gpCode(0) = 0
dataValue(0) = "lwpolyline,polyline"

paom.SelectByPolygon mode, ppoint, gpCode, dataValue 二维多段线Acdb2dpolyline的datavalue值应该是什么,怎么用上面的代码选不中?
发表于 2004-5-7 22:05:00 | 显示全部楼层
搜索“过滤器”,肯定会找到答案
发表于 2004-5-7 23:54:00 | 显示全部楼层
dataValue(0) = "lwpolyline" 呵呵
 楼主| 发表于 2004-5-8 09:05:00 | 显示全部楼层
今天调试了一下,原来是其它问题没注意到才没有选中。


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

本版积分规则

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

GMT+8, 2025-5-7 20:43 , Processed in 0.173019 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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