乐筑天下

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

[编程交流] Tough Questions - Attribute Li

[复制链接]

12

主题

29

帖子

17

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
60
发表于 2022-7-6 12:06:45 | 显示全部楼层 |阅读模式
Tough Questions - Attribute Lisp
 
AutoCAD 2007
I have a quite a few tough questions/requests and I am currently looking for some lisps to solve them.  I have been doing some searching online to find the lisps I need, and although I have been able to find some stuff, I still have some things that I can't seem to find exactly what I am looking for.  I would like to take the opportunity ahead of time to thank every who views my questions and for any help that is given.
 
Okay, I will basically explain the scenario that I ran into a couple days ago, and hopefully see if anyone has an effective solution for it.
I have a set of lets say 30 drawings (each are separate .dwg files - NOT 30 layout tabs in one .dwg file) and each one has a drawing border setup in the paperspace layout tab.  Each of the 30 drawings that have a border, also have an attribute that contains editable text needed for each drawing (For example: specific title per sheet, specific sheet number per sheet, etc.).  Now lets say that someone sends you an updated attribute for your drawing border that has in general the same information needed, but the fonts used are different, and the text size is different.  Now you have to put this new attribute in each of your 30 drawings and retype all the information from the old attribute into the new attribute.  
 
Does anyone know if there is a lisp that can take the old information from your original attribute and, convert to, or fill out that information to the new attribute?
回复

使用道具 举报

106

主题

1万

帖子

101

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1299
发表于 2022-7-6 12:14:47 | 显示全部楼层
Check this out probably what you want
 
http://www.cadtutor.net/forum/showthread.php?t=33971
回复

使用道具 举报

12

主题

29

帖子

17

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
60
发表于 2022-7-6 12:21:49 | 显示全部楼层
Thank You BIGAL, I will look into this and let you know how things go.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 12:26:06 | 显示全部楼层
I think most of the code in that thread is mine... so if you need help with it, shout
回复

使用道具 举报

14

主题

271

帖子

257

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
70
发表于 2022-7-6 12:33:42 | 显示全部楼层
Isn't John asking about multiple drawings? The very last post in that thread says it doesn't work on multiple drawings.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 12:36:28 | 显示全部楼层
 
Well, there is this for multiple drawings, but I wouldn't recommend ODBX as, without the Arx supplement, you lose the drawing thumbnail.
回复

使用道具 举报

14

主题

271

帖子

257

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
70
发表于 2022-7-6 12:41:14 | 显示全部楼层
That's the link I'd suggest.
What do you mean by losing the drawing thumbnail? I don't think I'm aware of this.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 12:47:41 | 显示全部楼层
 
Its a known bug of ODBX - it happens when you save the drawing through ODBX without using the Arx supplement. :wink:
回复

使用道具 举报

14

主题

271

帖子

257

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
70
发表于 2022-7-6 12:55:24 | 显示全部楼层
Haven't you got the arx supplement in your code? I likely don't understand what an arx supplement is...
 
I suppose losing a thumbnail isn't so bad, there's worse things that can happen.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 12:59:53 | 显示全部楼层
 
No, I don't normally supply it - but it is available at theSwamp in multiple threads.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-5 10:31 , Processed in 0.389851 second(s), 72 queries .

© 2020-2025 乐筑天下

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