This paper elaborates an object-oriented and automated approach for generating assembly sequences and achieving robotic assembly. This system, built with database and artificial intelligence (AI) techniques, provides the robot with the assembly sequence layout for the automatic handling rule. The critical set of problems is derived from various schemes such as model-based object recognition, features information, geometric and physical constraints between components, knowledge interpretation and robot task sequencing. Pattern recognition regarding shapes and features, along with a knowledge-based assembly, are the key issues of the authors' work. The methodology is shown through two illustrative examples involving different designs of parts in an assembly environment.