2009年10月16日星期五

CAD参照类型

http://school.cnd8.com/autocad/jiaocheng/24312.htm

"Reference Type(参照类型)":指定外部参照是"Attachment(附加型)"还是"Overlay(覆盖型)",其含义为:

  ①"Attach(附加型)":在图形中附着附加型的外部参照时,如果其中嵌套有其他外部参照(包括 附加型 和 覆盖型),则将嵌套的外部参照包含在内。

  ②"Overlay(覆盖型)":在图形中附着覆盖型外部参照时,则任何嵌套在其中的覆盖型外部参照都将被忽略,而且其本身(覆盖型外部参照)也不能显示。

http://www.markcad.com/autocad/tutorials/xref_attach.htm

That's because an overlaid xref appears only "one level deep" -- in
other words, it appears in a parent drawing, but not in a grandparent
drawing (or above: great-grandparent, etc.). You Attach xrefs that you
want to show no matter what the level of nesting, and you Overlay
xrefs that you want to show in the parent drawing, but no higher in
the hierarchy. I use Attach in almost all cases. Overlay can be useful
in complex multidisciplinary situations where certain xrefs should
appear in certain disciplines' drawings, but not in others'.

上面2个说法是否正确,我用AutoCAD 2006 做了一个试验:

整个参照结构如下:(+代表 attach -代表 overlay)
Z+A+AA+AAO
+AAA
-AO
-O+OA+OAA
-OO

结果发现,在Z里,包含A,AA,AAA,O,OA,OAA。

对于Z来说,A和O属于第一代,都包含;第一代以后,只要有一个O(比如 AO,AAO,OA,OO,OAA),就不包含。

如果以人来比喻,attach 代表儿子,overlay 代表 女儿,Z 看到的是 他的儿子、女儿,以及 儿子的儿子的儿子...和女儿的儿子的儿子的....。
或者这么说,女儿(包括后代)只有父母看到,再长辈的就看不到了。这和第2种说法是一致的。

没有评论: