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: 64 bit / 8 byte (value)
???.

Property instance

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

Property expression

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

Property valueType

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

Property value

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