オブジェクトが属しているすべてのファミリの名前をStringとして戻します。
// get accessor String rtn = ProjectItem.Families; |
' ' 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 |