ProjectItem.Families operator

説明

オブジェクトが属しているすべてのファミリの名前をStringとして戻します。

VBScript の例

'
' This example shows how to find out which families an object belongs to.
'
NewScene , false
set oRoot = Application.ActiveProject.ActiveScene.Root
set oGrid = oRoot.AddGeometry( "Grid", "MeshSurface" )
Application.LogMessage "Object belongs to families : " & oGrid.Families
'Expected result:
'INFO : Object belongs to families : 3D Objects