engiGetScriptText

This call returns name and body text for entity local (where) rule, schema rule, function or procedure.

Syntax

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

[DllImport(ifcenginedll, EntryPoint = "engiGetScriptText")]
public static extern void engiGetScriptText(int_t declaration, out IntPtr label, out IntPtr text);

public static void engiGetScriptText(int_t declaration, out string label, out string text)
		{
			IntPtr labelIntPtr = IntPtr.Zero;
			IntPtr textIntPtr = IntPtr.Zero;

			engiGetScriptText(declaration, out labelIntPtr, out textIntPtr);

			label = marshalPtrToString(sdaiEXPRESSSTRING, labelIntPtr);
			text = marshalPtrToString(sdaiEXPRESSSTRING, textIntPtr);
		}    

Property declaration

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

Property label

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

Property text

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