Regarding Macro.

Regarding Macro, I am unable to open the macro from tools when i started to record any part drawing. It is saying that solidworks encourted the problem, how to overcome this.

SolidworksApi macros