乐筑天下

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

[编程交流] Extracting points from line, p

[复制链接]

1

主题

1

帖子

0

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-6 17:17:11 | 显示全部楼层 |阅读模式
Hi I usually have drawings with lots of line, polyline, arcs etc. I would like to extract the coordinate points that form them automatically into Excel using VBA.
 
However, many books I come across teach how to create drawings using VBA but not to extract data from drawings using VBA. As such I am not be able to find a good example that does this.
 
I would like to be able to select the lines, polyline etc that I want from the drawing. And have the VBA code go through each item in the selection set and outputs the coordinates into excel.
 
Can anyone provide me with some code to do this?
Thank You
Roy
回复

使用道具 举报

0

主题

132

帖子

198

银币

限制会员

铜币
-21
发表于 2022-7-6 18:18:19 | 显示全部楼层
http://www.cadtutor.net/forum/showthread.php?t=12159&highlight=extract+coordinates
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-4 16:47 , Processed in 0.365412 second(s), 56 queries .

© 2020-2025 乐筑天下

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