Correct, i'm using that getcexpressionValue in vba.
A bit of background : this function is part of old vba code (aprox 10 years old), that I'm trying to rework to c# (the program we writing is collecting data from microstation, office, illustrator, etc and store that in a database - kind of a program that holds all technical documentation in our company) .
The information i need from microstation is the area, perimeter, ix, iy , ... from profile drawings and send this to the database. this code needs to be running without user interaction (only one click on a button) but also needs to run in batch over a bunch of drawings. the old code to calculate works fine in select, but give's me errors in connect version. (when it calling that getcexpressionvalue function)
I'm not aware of vba functions that calculates these kind of information ?