engiEvaluateScriptExpression

This function can evaluate EXPRESS expression for entity where rule or derived attribute, valueType, value and return type work similary to sdaiGetAttr.

Syntax

//
//   Strong typing definition
//
void                        * engiEvaluateScriptExpression(
                                    SdaiModel               model,
                                    SdaiInstance            instance,
                                    ExpressScript           expression,
                                    SdaiPrimitiveType       valueType,
                                    void                    * value
                                );


//
//   Weak typing definition
//
void    __declspec(dllexport) * __stdcall engiEvaluateScriptExpression(
                                                                                    int_t                   model,
                                                                                    int_t                   instance,
                                                                                    int_t                   expression,
                                                                                    int_t                   valueType,
                                                                                    void                    * value
                                                                                );
    

Property model

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

Property instance

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

Property expression

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

Property valueType

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

Property value

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