I

ICEAttribute

Object Hierarchy | Related C++ Class: ICEAttribute

Inheritance

SIObject
   ICEAttribute

Introduced

7.0

Description

ICEAttribute contains the information describing an attribute data set that belongs to scene objects such as geometries and properties. ICEAttribute objects can be accessed through Geometry.ICEAttributes and ProjectItem.ICEAttributes.

Methods

GetDataArray2DChunk

GetDataArrayChunk

IsClassOf

IsEqualTo

Properties

Application

AttributeCategory

Categories

ContextType

DataArray

DataArray2D

DataType

ElementCount

FullName

Help

IsConstant

IsDefined

IsReadonly

Name

NestedObjects

Origin

OriginPath

Parent

StructureType

Type

Examples

Python Example

#
# This example shows how to access all attributes on a geometry.
#
from win32com.client import constants

xsi = Application

xsi.CreatePrim("Cone", "MeshSurface", "", "")
attrs = xsi.Selection(0).ActivePrimitive.Geometry.ICEAttributes;

for attr in attrs:

   xsi.LogMessage( "*******************************************************************" )
   xsi.LogMessage( "Name: " + attr.Name )
   xsi.LogMessage( "DataType: " + str(attr.DataType) )
   xsi.LogMessage( "StructType: " + str(attr.StructureType) )
   xsi.LogMessage( "ContextType: " + str(attr.ContextType) )
   xsi.LogMessage( "IsDefined: " + str(attr.IsDefined) )
   xsi.LogMessage( "IsConstant: " + str(attr.IsConstant) )
   xsi.LogMessage( "Readonly: " + str(attr.IsReadonly) )
   xsi.LogMessage( "AttributeCategory: " + str(attr.AttributeCategory) )
   xsi.LogMessage( "Element count: " + str(attr.ElementCount) )


Autodesk Softimage v7.5