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 Int64 GetSPFFHeaderItemUnicode(Int64 model, Int64 itemIndex, Int64 itemSubIndex, string buffer, Int64 bufferLength);

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

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 itemIndex

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

Property itemSubIndex

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

Property buffer

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

Property bufferLength

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