The circumscribed and the inscribed circle of 2D sketch

Hi friends , Are there someone who can help me to develop a VBA code to generate the circumscribed or the inscribed circle of 2D sketch.Best regards

SolidworksApi macros