ProjectItem.Families

ProjectItem.Families operator

説明

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

C#構文

// get accessor

String rtn = ProjectItem.Families;

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