engiGetEntityAttributePosition

Get a position in a step file record where the value of the attribute is stored for simple instance or for component of complex instance. In case of complex entities 'entity' is a component of the complex entity. The position is 0-based. Returns -1 if the attribute has no slot to store value (inverse, pure derived or irrelevant attribute) or when 'entity' is a complex entity.

Syntax

public const string ifcenginedll = @"ifcengine.dll";

[DllImport(IFCEngineDLL, EntryPoint = "engiGetEntityAttributePosition")]
public static extern Int32 engiGetEntityAttributePosition(int_t entity, int_t attribute, bool forSimpleInstance);    

Property entity

Size: 32 bit / 4 byte (value)
...

Property attribute

Size: 32 bit / 4 byte (reference)
...

Property forSimpleInstance

Size: 8 bit / 1 byte (value)
???.