center of gravity macro sw 2012

Hello,

Does anyone have a macro that puts a point at the CofG of an assembly for SW 2012. I have the macro that works in 2010 but it fails in 2012.

Thanks,

Jaspreet Hothi

SolidworksAssemblies