With the vigorous development of BIM technology and prefabricated buildings,the parametric design of prefabricated buildings based on BIM technology is the forefront of the information development of the construction industry.As the BIM software with the highest market share in China,Revit and prefabricated steel structure design have been combined in many applications.However,for more complex lattice structures,Revit has not yet provided a mature parametric design solution.A new type of steel lattice beam-column and its joint structure developed by our research group,the I-shaped steel connectors are arranged and welded in the hollow of the lattice-type beam-column joint area.While ensuring the overall rigidity and strength,the structure has a simple assembly process and a short construction period.In order to promote the application and promotion of this structure in Revit software,a more efficient design modeling method is urgently needed.Based on this,this paper relies on Visual Studio and C# language to carry out the secondary development of Revit 2016 software to realize the parametric design of truss beams,lattice columns and I-shaped connection nodes.The main contents of this study are as follows:(1)Parametric design modeling of truss beams.It supports the user to input various dimensional parameters such as truss beam limbs,splices,and oblique splices,and develops and sets an optimization algorithm to control the internode arrangement of beam families,making the creation of family instances more intelligent.The optimization algorithm ensures that the lap length of the beam ends meets the practical requirements of the project,and at the same time,the distribution of the internode spacing conforms to the modulus selected by the user,which is close to the user’s needs.(2)Parametric design modeling of lattice columns.Supports inputting various dimensional parameters such as lattice column legs,affixed pipes,and obliquely affixed pipes.The user selects the position of the connector,and sets the empty stomach by controlling the reference plane of the mirrored oblique pipe and the number of mirror image cycles,and finally the result is obtained.A lattice column family instance with an empty stomach is reserved.(3)Separate the I-shaped connector from the beam and column and model it independently.Parameterization of connector family modeling is achieved by controlling bolt hole diameter,hole spacing,and channel size.Further,by reading the position,height and orientation of the beam,the connecting piece is accurately placed in the empty space reserved by the beam end and the lattice column to form a unified whole.(4)The parametric design functions of beams,columns and nodes are modularized in the Revit functional area to form plug-ins,so that the modeling method can be directly invoked by users,and its practicability is further demonstrated through engineering examples. |