how can get evaluated value

Hi.

I deleted my question because I thought that i misunderstand too big.

I am get customproperty using GetCustomProperty on ISwDMApplication.

---source

CComPtr swClassFact;

CComPtr swDocMgr;

CComPtr swDoc;

~~~~

CComBSTR vrRetA;

SwDmCustomInfoType type;

CString name = propName;

VARIANT_BOOL ret;

hr = swDoc->GetCustomProperty(name.AllocSysString(), &type, &vrRetA);

So i can get property value in vrRetA.

But. this value is Value / Text expression's of solidworks file property. I want to get evaluate value.

for ex) i am getting SW-Mass@103.SLDPRT. But i want to get "139.0"

I think i have to use CustomPropertyManager. i found using this by vb. but it is difficult that write c++ to me.

waitting your help.

thank you.

SolidworksApi macros