Please use setSegmentation call The callsetMaximumSegmentationLength(model, length) can be replaced with

    int_t segmentationParts = 0;
    getSegmentation(model, &segmentationParts, nullptr);
    setSegmentation(model, segmentationParts, length);


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

[DllImport(IFCEngineDLL, EntryPoint = "setMaximumSegmentationLength")]
public static extern void setMaximumSegmentationLength(int_t model, double length);    

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 length

Size: 64 bit / 8 byte (value)