sdaiCreateModelBN

This function creates and empty model (we expect with a schema file given).
Attributes repository and fileName will be ignored, they are their because of backward compatibility.
A handle to the model will be returned, or 0 in case something went wrong.

Syntax

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

[DllImport(IFCEngineDLL, EntryPoint = "sdaiCreateModelBN")]
public static extern Int32 sdaiCreateModelBN(int_t repository, string fileName, string schemaName);

[DllImport(IFCEngineDLL, EntryPoint = "sdaiCreateModelBN")]
public static extern Int32 sdaiCreateModelBN(int_t repository, string fileName, byte[] schemaName);

[DllImport(IFCEngineDLL, EntryPoint = "sdaiCreateModelBN")]
public static extern Int32 sdaiCreateModelBN(int_t repository, byte[] fileName, string schemaName);

[DllImport(IFCEngineDLL, EntryPoint = "sdaiCreateModelBN")]
public static extern Int32 sdaiCreateModelBN(int_t repository, byte[] fileName, byte[] schemaName);    

Property repository

Size: 32 bit / 4 byte (value)
Ignore this attribute, the value will be ignored in the current implementation, present for backwards compatibility.

Property fileName

Size: 32 bit / 4 byte (reference)
The file name of the file as available in the file system in ASCII (char *). The given char array will not be adjusted, on each OS the size of a char element is 8 bit / 1 byte.

Property schemaName

Size: 32 bit / 4 byte (reference)
The schema name of the file as available in the file system in ASCII (char *). The given char array will not be adjusted, on each OS the size of a char element is 8 bit / 1 byte.