# How to get information about attribute type?

 1. [FAQ](/ja/faq)
2. »
3. [STEP](/faq/step)

### The only way to get information about attribute type at the moment is to case in following way:

```plaintext
OdArray<OdDAI::AttributePtr>::iterator nextAttribute = leftEntityAttributeFilter.begin();
for (; nextAttribute != leftEntityAttributeFilter.end(); ++nextAttribute)
{
	OdDAI::AttributePtr pAttrib = *nextAttribute;
	OdDAI::InverseAttributePtr pInverse = OdDAI::InverseAttribute::cast(pAttrib);
	if (!pInverse.isNull())
	{
		odPrintConsoleString(L"\nInverse attribute `%s` (%lu)", pInverse->name().c_str(), (OdUInt64)leftIterator->id().getHandle());
	}
}
```
