Syntax
public const string ifcenginedll = @"ifcengine.dll"; [DllImport(ifcenginedll, EntryPoint = "engiGetEntityElement")] public static extern Int64 engiGetEntityElement(int_t model, int_t index);
Property model
Size: 64 bit / 8 byte (value)Property index
Size: 64 bit / 8 byte (value)
Example (based on pure API calls)
Here you can find code snippets that show how the API call engiGetEntityElement can be used.
using RDF; // include at least IFCEngine.cs within your solution void WriteEntities(Int64 model) { Int64 i = 0, cnt = RDF.IFCEngine.engiGetEntityCount(model); while (i < cnt) { Int64 ifcEntity = RDF.IFCEngine.engiGetEntityElement(model, i); string entityName = RDF.IFCEngine.engiGetEntityName(ifcEntity); Console.WriteLine("Entity " + entityName); } }