UserDataMap.Item
 
 
 

UserDataMap.Item operator

Introduced

v3.0

Description

Provides access to the UserDataItem at the specified index within the cluster. The index must be in the range of 0 to UserDataMap.Count - 1. It returns a valid (but empty) object even if no user data has been assigned to the specified component. /

Note: Since Python does not support input parameters on properties, this will fail in Python. Use the Python-compliant UserDataMap.GetItem2 method instead.

C# Syntax

// get accessor
UserDataItem UserDataMap.get_Item( Int32 in_ulIndex );

Parameters

Parameter Type Description
Index Long Index of the component within the cluster. As with other cluster properties, the indexes of components within the cluster may not match the numbering of the component on the geometry. The mapping between the two systems can be determined using the ClusterElementCollection.

See Also

UserDataItem Cluster.Elements ClusterProperty UserDataMap.GetItem2