乐筑天下

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

[编程交流] Auto numbering blocks, is this

[复制链接]

1

主题

4

帖子

4

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-6 17:22:11 | 显示全部楼层 |阅读模式
Hi
I know there are various routines for auto numbering by "clicking" and getting a consecutive number each time but is there a routine or a way of being able to automatically number each block with an attribute by swiping the drawing and the routine starts at the top left for instance and works left to right, top to bottom, numbers consecutivley all blocks with that attribute until it runs out of blocks. This would save alot of time 1 swipe everything numbered.
Thanks
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-6 17:45:59 | 显示全部楼层
I'm happy you didn't ask for anything that was impossible.
 
Let's say you have ten different blocks and each was used ten times.  How would you like them numbered?  1 thru 100?  Or 1 thru 10 for each distinct block?
回复

使用道具 举报

1

主题

4

帖子

4

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-6 17:49:33 | 显示全部楼层
It would be 1 thru to 100. Each item has its own item number even if it is the same block. Hope that makes sense.
回复

使用道具 举报

0

主题

252

帖子

290

银币

限制会员

铜币
-8
发表于 2022-7-6 18:05:19 | 显示全部楼层
the short answer is yes it can be done.  The long answer is its going to be hard to code that.  But it is possible.
回复

使用道具 举报

1

主题

4

帖子

4

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-6 18:13:18 | 显示全部楼层
Do you think that a lisp routine is the best way to achive this?
It would be great and save loads of time if I could say, draw the plan of a kitchen drag in all the bits of kit, (tables, cookers, ovens, mixers etc) which are all blocks with various attributes (item no, manufacturer, electric load, size, price etc). Swipe the entire drawing to number them up, then run the data extraction to create the legend, quote and any other "list" that might be applicable. I spend so much time changing numbers and typing up legends. Then there is the error factor if you miss type something etc.
回复

使用道具 举报

2

主题

439

帖子

536

银币

限制会员

铜币
-14
发表于 2022-7-6 18:22:40 | 显示全部楼层
Example: http://www.cadtutor.net/forum/showthread.php?t=20103
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-4 15:53 , Processed in 0.512757 second(s), 75 queries .

© 2020-2025 乐筑天下

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