config alternate name

i am trying to set a configuration property to swconfig.alternatename.  i want to use vba in an equation.  can someone tell me how to get this value.  i have little experience in vba.  i have been using stuff like  "“Dummy”"= Part.Extension.CustomPropertyManager("").Set("cmpwt_object_number","Diameter@BodySke")

So what i want to do is get the "swcong.alternatename", and set "cmpwt_object_number" to this value.

I know somehow i have to call configuration properties instead of custom properties like i used above.

any help would be greatly appreciated!!!

Thanks!

SolidworksApi macros