This paper describes a research work to explore the utilization of macros in an effort to improve an overall machining efficiency. Latest models of CNC machine are equipped with many functions and resulting difficulty in creating NC program. Feature based machining is optimizing the capabilities of CNC machine. A novel framework of a feature based machining system using macros is discussed in this paper by applying some normally used features and work material in manufacturing industry. Experiments has been conducted in proving its functionality. This system found enable to reduce pre-machining setup time and easy to used. Lastly, a graphical user interface is proposed.