乐筑天下

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

[编程交流] Can you tell what's wrong

[复制链接]

33

主题

77

帖子

44

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
165
发表于 2022-7-5 23:04:02 | 显示全部楼层 |阅读模式
Hi all, Can someone please tell me what's wrong with this line?  I'm trying to catch all polylines with the color 230 inside a window.  Nothing I try works!?  
 
  1. (setq ss1 (ssget "_W" pt15 pt17 '((0 . "POLYLINE")(62 . 239))))
 
Thanks in advance!
回复

使用道具 举报

1

主题

475

帖子

481

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-5 23:22:32 | 显示全部楼层
The "POLYLINE" will only select Heavy Polylines, if you have Lwpolylines you must use "LWPOLYLINE" or  "*POLYLINE"
 
 
HTH
Henrique
回复

使用道具 举报

11

主题

93

帖子

82

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
55
发表于 2022-7-5 23:34:44 | 显示全部楼层
 
If polylines are on a separate layer (color 230) then you should be able to select them all.
 
Basics rules here (same color with different things = layer with differents name and preset colors) makes things easier to use
 
no need to use lisp to separate and selects things when it can be done simply
回复

使用道具 举报

33

主题

77

帖子

44

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
165
发表于 2022-7-6 00:03:23 | 显示全部楼层
Bingo, they were lightweight polylines!  Thanks both of you for responding!  I messed with that for almost a week!
回复

使用道具 举报

106

主题

1万

帖子

101

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1299
发表于 2022-7-6 00:16:48 | 显示全部楼层
Dumb question 62 . 239 ??? 230 colour required.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-11 03:28 , Processed in 1.015884 second(s), 62 queries .

© 2020-2025 乐筑天下

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