How do you change the color of a balloon using API

How do you change the color of a balloon using API ?

setlinecolor method is very slow.

Thanks for the help

SolidworksApi macros