Feature.GetTypeName2 vs GetTypeName

Hi evrybody ;

I wanted to use Feature.GetTypeName2 in a macro but the return doesn't satisfy me.


On my test part, there is 2 cut features (got from 2 different library features : SLDLFP)

A call of Feature.GetTypeName2 returns "CUT" (swTnCut _T "Cut") for the first and "ICE" (swTnICE_T "ICE" //Instant3D) for the second.

A call of Feature.GetTypeName returns "CUT" for 2 cuts.

In my case, the older function is the best but I don't want to use an obsolete function. That's why I want to understand this return and the difference between my two features if one exists.

SolidworksApi macros