乐筑天下

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

[综合讨论] Nested Blocks?

[复制链接]

3

主题

10

帖子

7

银币

初来乍到

Rank: 1

铜币
15
发表于 2022-7-8 10:34:12 | 显示全部楼层 |阅读模式
Previously, at our office, outside vendors were asked to "not nest blocks" in drawings returned to us. I have been trying to figure out all of the issues around this statement. What exactly are nested blocks about. Are they blocks within blocks or blocks within something else? What are the advantages or disadvantages to them? Could someone please ramble on this topic for a while? Any clues would be greatly appreciated.
回复

使用道具 举报

13

主题

126

帖子

114

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
65
发表于 2022-7-8 10:45:22 | 显示全部楼层
You know those Russian dolls where you open one and there is another inside? Then you open it and there is another inside of it and so on. Blocks can be nested just like that. There are good reasons to do it, and there are bad reasons to do it.
 
Say you are drawing a cubical farm - an office building. In each cube is a desk, a chair and a bookcase. Each of these are blocks so you insert them into a cubical block. If you change the size or type of chair, desk or bookcase, you redefine the block and your cube automagically updates. You arrange several of these cubical blocks into a department module (another block). You put 5 modules on a floor.
 
Then the boss says that he does not like the way you put your department grouping together, he wants the BOSS cube (another block) only accessible through a secret door. All you have to do with nested blocks is to edit that block, regen the drawing and all departments in the building are now set to make things difficult for the poor saps who are stuck there.
 
The drawback is that some noob comes in and redefines the desk block without realizing it. Suddenly your entire drawing has desks that look like desk-phones.
 
Fire is not good or bad - but it can cook your dinner or your finger, depending on how you use it.
 
Glen
回复

使用道具 举报

3

主题

10

帖子

7

银币

初来乍到

Rank: 1

铜币
15
发表于 2022-7-8 10:55:53 | 显示全部楼层
Thanks Glen, I will build some models to work with and explore the behaviors of this nested magic.
回复

使用道具 举报

8

主题

1647

帖子

1647

银币

初来乍到

Rank: 1

铜币
36
发表于 2022-7-8 10:57:52 | 显示全部楼层
I never nest blocks, or xref's for that matter. If you're not careful you can create quite a mess. And heaven help anyone who has to take over working on your drawing. Having to figure out the method to someone else's madness can be quite frustrating.
回复

使用道具 举报

3

主题

10

帖子

7

银币

初来乍到

Rank: 1

铜币
15
发表于 2022-7-8 11:05:09 | 显示全部楼层
Thanks Cad64, I recently inherited this office and now I'm trying to dissect everything to see how its all made. The priors left some clues about how some things were done, but i have some ground to uncover. Is there a way to find nested blocks/xrefs?
回复

使用道具 举报

48

主题

1073

帖子

1043

银币

后起之秀

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

铜币
238
发表于 2022-7-8 11:12:02 | 显示全部楼层
If I have to nest blocks I will usually explode them so they are just entities within other blocks but sometimes they can be useful - can't yet think of an example though.
 
One of the express tools can be used to list subentites but I can't remember which one. Click around in the Express Tools|tools pull down.
 
Alternatively if you select a block and instigate a REFEDIT or BEDIT you will get a list of what blocks are contained within the block you first selected. That way you can redefine a nested block simply.
回复

使用道具 举报

3

主题

10

帖子

7

银币

初来乍到

Rank: 1

铜币
15
发表于 2022-7-8 11:24:26 | 显示全部楼层
Thanks Dave, I will explore these today.
回复

使用道具 举报

3

主题

9

帖子

6

银币

初来乍到

Rank: 1

铜币
15
发表于 2022-7-8 11:29:44 | 显示全部楼层
From what I've done with blocks, if it's nested it should still be there if you try to insert a block.  Only problem I've had with nesting blocks is forgetting where I set the insertion point and then redefining the block, oops!
回复

使用道具 举报

48

主题

1073

帖子

1043

银币

后起之秀

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

铜币
238
发表于 2022-7-8 11:36:47 | 显示全部楼层
one "feature" of nested blocks that is useful if you understand it but a potential problem if you don't is that only the TOP block gets redefined if a newer example is inserted.
 
If you have a Parent block with a Child block inside, or have an example of Child already defined in your current drawing, and insert a new Parent block containing a new Child the Child block DOES NOT get redefined.
 
Conversly if you redefine Child, ALL instances of Child will be redefined including those alreay part of the Parent block.
 
This isn't as complicated as it sounds (try it to get comfortable) but will trip up the unwary.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-4 19:12 , Processed in 0.371694 second(s), 70 queries .

© 2020-2025 乐筑天下

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