In embroidery CAD, embroidery module is one of the parts which are badly affected by requirements changes. Factory pattern provides a suitable solution to decouple client from server. In traditional factory pattern, since it was restricted by language, coupling degree between factory and other modules remains high. To cope with the problem, the paper presents a new factory pattern under reflection mechanism. New pattern could completely decouple embroidery module from other modules. The idea also offers an instructive idea for other traditional design pattern to innovate with the help of reflection mechanism.