GetSPFFHeaderItemUnicode

This call can be used to write a specific header item, the source code example is larger to show and explain how this call can be used.

Syntax

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

[DllImport(IFCEngineDLL, EntryPoint = "GetSPFFHeaderItemUnicode")]
public static extern Int32 GetSPFFHeaderItemUnicode(Int32 model, Int32 itemIndex, Int32 itemSubIndex, string buffer, Int32 bufferLength);

[DllImport(IFCEngineDLL, EntryPoint = "GetSPFFHeaderItemUnicode")]
public static extern Int32 GetSPFFHeaderItemUnicode(Int32 model, Int32 itemIndex, Int32 itemSubIndex, byte[] buffer, Int32 bufferLength);    

Property model

Size: 32 bit / 4 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 itemIndex

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

Property itemSubIndex

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

Property buffer

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

Property bufferLength

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