How to use function formulas/rules in your application

Maybe, most of us have the experience of using Driveworks express in Solidworks.

in the Driveworks, it lets users to use rules to control the passing parameters within its application.

What way to realize it? math parser or just directly apply Excel function?

some typical formulas/rules:

x=1

y=2

z=(x+y)*10

if(solidworks.running=nothing,false,true)

vlookup(anybody, solidworksforum,here,true)

anybody welcome!

SolidworksApi macros