how to apply constraints on the model

it is often to apply constraints/relationship between dimensions/features on the model.

for example,

1. dimension A> dimension B;

2. dim. A > dim. B > dim. C;

it is easy to use the program codes to control by its returned values.

I want to develop one constraints editor , which will look like a kind of equations editor,

it MAY need math parser to control it. because it is expected to just only type the expression ' d1@sketch1 >d3@sketch1 ' in the control panel(user interface panel), and then let it run in solidworks.

any idea?

JIN

SolidworksApi macros