Through the analysis of the influence between the complex building's periphery structure and the building's energy consumption, Dynamo visual programming is used to set and extract the parameters related to the complex building's periphery structure, so as to change some restrictive conditions such as the thermal performance attributes of the complex building's periphery structure, the size of the window and so on [8]. BIM model simulates all real information in complex buildings based on digital information. The model mainly contains a lot of building information such as material, type attributes and so on [9]. In order to prevent the BIM model from having too much complex building information leading to increasing workload and errors. For this purpose, $YNamo is used to filter and extract complex building parameters.