AssemblyMixin

概要

このパーツを決定する design のタスク(およびその子) Intent Professional のアセンブリ ツリーに表示されているハンドル。

Mixin

[パラメータ]

Name [タイプ] 説明
inAssembly? boolean このパラメータは、このパーツがアセンブリ ツリーに表示されるかどうかを決定するために使用されます。

ルール

Name [タイプ] 説明
leaf? boolean 値が True の場合、このノードの下に子がないことが示されます。
root? boolean これはアセンブリ ツリーのルートノードである True 信号の値です。
children list このノードの下にあるすべての子ノードの list です。 アセンブリ ツリーにすべてのノードは表示されません(assemblyChildren ルールを参照)。注意: いずれかの子が nullDesign のインスタンスである場合、それらは自動的にフィルタで除外され、アセンブリ ツリーには表示されません。
assemblyChildren list アセンブリ ツリーに表示されるすべての子の list です。 既定値は、子の inAssembly チェックのすべての子に対して rule ループ? 値を確認します。 True [ 子がアセンブリ ツリーに表示されるパーツの list に追加されます。

例 1

Name : assemblyMixin_Ex01
Design : Mixins AcDrawingDocument
[名前] [タイプ]
  any  
Child Name : block
Child Design : block
[名前] [タイプ] 指定値
height number 2
length number 3
width number 1
color string "orange"

例 2

Name : assemblyMixin_Ex02
Design : Mixins AcDrawingDocument
[名前] [タイプ]
  any  
Child Name : block
Child Design : block
[名前] [タイプ] 指定値
height number 2
length number 3
width number 1
inAssembly? boolean False
color string "orange"

例 3

Name : assemblyMixin_Ex03
Design : Mixins AcDrawingDocument
[名前] [タイプ]
  any  
Child Name : block
Child Design : block
Child List ?
[名前] [タイプ] 指定値
quantity integer 5
height number 0.5
length number 4
width number 4
origin point origin + unitZ * Child.index
inAssembly? boolean even?(Child.index)
color string "blue"