乐筑天下

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

[编程交流] HELP: LISP that can combine/me

[复制链接]

48

主题

304

帖子

256

银币

后起之秀

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

铜币
240
发表于 2022-7-5 19:34:33 | 显示全部楼层
 
Hi tombu. Took me a while to digest what you wrote
 
I may misinterpret you but here goes:
 
This blocks originate from xref.  Because of similar or part of the similar unit profile at various floors xref is used to reduce amending the same thing at multiple floors. Nobody wants to amend the same unit 120 times (& that is just 1 unit profile)
 
Each floor will have a mix of unit profile, meaning having multiple xref units.  
BUT because not a full profile of the each unit (each xref) is required, xclip is used to clip them out.  
Due to xclip being use, there various xref need to be stacked in a particular order.
 
Also these are existing drawing.
 
When preparing for submission , the drawings are binded.  Thereby it comes blocks.  
 
Next. Ordinarily, we just have to insert the older drawing (after change to yellow hidden linetype ) as a whole. BUT because of the multiple xclip blocks STACKED IN A SPECIFIC ORDER, I cannot insert the older drawing as a whole.  If I do that then the blocks with xlips will coverup the older drawing & they cannot be seen.   
 
Therefore I need a LISP to insert/merge the items of the old drawing to the new base on "inserting" into its own individual blocks, based on their block names
 
I hope this explains it.
回复

使用道具 举报

17

主题

1274

帖子

25

银币

后起之秀

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

铜币
260
发表于 2022-7-5 19:38:37 | 显示全部楼层
Just trying to come up with a procedure to do what you're asking for.
By renaming and modifying the layer "FURNITURE" is on in each drawing you can have "FURNITURE" display however you want. The only modification that may be needed would be to set all object properties in each "FURNITURE" block to bylayer on layer 0.  
 
Does that sound like what you're looking for?  If not could you describe the procedure a little more?  Could you attach as small as possible "A" & "B" drawings so we can see what you are trying to do?  Hard to imagine combining a chair block & a table block working without seeing the drawings.  The chair would have to be placed in reference to the table. Does the table really have only one chair?
回复

使用道具 举报

48

主题

304

帖子

256

银币

后起之秀

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

铜币
240
发表于 2022-7-5 19:45:43 | 显示全部楼层
 
Did my previous post above explain the rational & purpose?
 
Anyway to summaries:-
 
- there is no furniture. There are no tables or chairs in my drawing. The example I gave is only an example
- merging of blocks is between the 2 same drawings but at different dates. (This is to To reflect the changes)
- both drawings share the same layering names & there are over 100 layers names depending on the element.  
   NOT on the blocks.
 
Hope that is a better description. Unfortunately I am not able to attached a dwg as it would reveal my work.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-7-1 10:50 , Processed in 0.547494 second(s), 56 queries .

© 2020-2025 乐筑天下

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