sdaiCreateInstanceBNEI

This call creates an instance at a specific given express ID, the instance is only created if the express ID was not used yet

Syntax

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

[DllImport(IFCEngineDLL, EntryPoint = "sdaiCreateInstanceBNEI")]
public static extern Int64 sdaiCreateInstanceBNEI(Int64 model, string entityName, Int64 express_id);

[DllImport(IFCEngineDLL, EntryPoint = "sdaiCreateInstanceBNEI")]
public static extern Int64 sdaiCreateInstanceBNEI(Int64 model, byte[] entityName, Int64 express_id);    

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 entityName

Size: 64 bit / 8 byte (reference)
...

Property express_id

Size: 64 bit / 8 byte (value)
...