ProjectItem.Families
 
 
 

ProjectItem.Families operator

Description

Returns the names of all the families the object belongs to as a String.

C# Syntax

// get accessor
String rtn = ProjectItem.Families;

Examples

VBScript Example

'
' 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