ProjectItem.AddICEAttribute
 
 
 

ProjectItem.AddICEAttribute

Introduced

v11.0 (2013)

Description

Adds and returns a new attribute data on this object. If the attribute data already exists, the current attribute data is returned.

C# Syntax

ICEAttribute ProjectItem.AddICEAttribute( String in_name, siICENodeDataType in_DataType, siICENodeStructureType in_StructureType, siICENodeContextType in_ContextType );

Scripting Syntax

oReturn = ProjectItem.AddICEAttribute( in_name, in_DataType, in_StructureType, in_ContextType );

Return Value

ICEAttribute

Parameters

Parameter Type Description
in_name String Name of the attribute to add.
in_DataType siICENodeDataType The data type for this attribute.
in_StructureType siICENodeStructureType The structure type identifies how the data is structured: data can be a single element or an array.
in_ContextType siICENodeContextType The context type identifies the element set associated with the data (cardinality), such as vertices, polygons, or newly created particles.

See Also

ProjectItem.GetICEAttributeFromName ProjectItem.ICEAttributes ProjectItem.RemoveICEAttribute Geometry.AddICEAttribute Geometry.GetICEAttributeFromName Geometry.ICEAttributes Geometry.RemoveICEAttribute