engiEnableDerivedAttributes

The function enables calculation of derived attributes for sdaiGetAttr(BN) and other get value functions and dynamic aggregation indexes. Returns success flag.

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "engiEnableDerivedAttributes")]
public static extern bool x86_engiEnableDerivedAttributes(Int32 model, bool enable);

[DllImport(enginedll, EntryPoint = "engiEnableDerivedAttributes")]
public static extern bool x64_engiEnableDerivedAttributes(Int64 model, bool enable);

public static bool engiEnableDerivedAttributes(Int64 model, bool enable)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_engiEnableDerivedAttributes((Int32)model, enable);
				return _result;
			}
			else
			{
				return x64_engiEnableDerivedAttributes(model, enable);
			}
		}    

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 enable

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