Have a problem to get user defined ICE attributes.
I can check if an attribute is available. But the count of data is
different.

ICEAttribute attr =
cloud.GetActivePrimitive().GetGeometry().GetICEAttributeFromName(
L"TestAttribute" );
Application().LogMessage( CString( attr.GetElementCount() ) );

This gives me a right value.


CICEAttributeDataArrayBool cTest;
attr.GetDataArray( cTest );
Application().LogMessage( CString( cTest.GetCount() ) );

Gives me 0 back.

With known attributes like Size or PointPosition, i get with both of them
the right value...

Reply via email to