乐筑天下

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

[编程交流] Boundary/Region Command - With

[复制链接]

95

主题

477

帖子

383

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
475
发表于 2022-7-5 16:37:56 | 显示全部楼层 |阅读模式
I am trying to figure out a way to create closed polylines from a group of overlapping objects, without having to pick internal points. Similar to the region command and then intersect, the user would just need to select all the closed polylines that they want, the code would then create new objects and delete all of the original selected objects. Rather than delete all except the intersected objects, like the intersect command, it would just create all new objects. For example, if two rectangles intersected, the LISP would create three objects (one for the intersecting region, one each for the non intersecting region, just like the bpoly command if I pick inside the three different shapes), and delete the original two rectangles. Is this easily done using autocad commands, or do I need to figure out how to do it all using LISP?
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-5 17:12:54 | 显示全部楼层
Assuming I've understood correctly, see here.
回复

使用道具 举报

95

主题

477

帖子

383

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
475
发表于 2022-7-5 17:21:51 | 显示全部楼层
Lee, that is exactly what I was looking for, thank you!
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-5 17:52:17 | 显示全部楼层
Excellent - You're welcome!
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-13 14:00 , Processed in 0.361931 second(s), 60 queries .

© 2020-2025 乐筑天下

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