This function iterates over all available instances loaded in memory, it is the fastest way to find all instances.
Argument entity and entityName are both optional and if non-zero are filled with respectively the entity handle and entity name as char array.
Syntax
public const string ifcenginedll = @"ifcengine.dll";
[DllImport(IFCEngineDLL, EntryPoint = "iterateOverInstances")]
public static extern Int64 iterateOverInstances(int_t model, int_t instance, int_t entity, out IntPtr entityName);
Property model
Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.
Property instance
Size: 64 bit / 8 byte (value)
...
Property entity
Size: 64 bit / 8 byte (reference)
...
Property entityName
Size: 64 bit / 8 byte (reference)
???.