BIM SHEET: /blog/bim正向设计探索-_-实现yjk与revit的双向实时联动/ REV: 2026-07-28

BIM forward design exploration | Realizing two-way real-time linkage between YJK and Revit

Zhou Wenqi (Venchy) 22 min read

BIM forward design exploration | Realizing two-way real-time linkage between YJK and Revit

Official Account: Non-Deconstructive · Author: Zhou Wenqi (Venchy)

  1. The necessity of linkage between YJK and Revit With the promotion of BIM technology, the exploration of forward design methods based on BIM has become a hot topic in the current architectural design industry.The entire design process is run through a model, and various disciplines collaborate with each other to obtain the information they want from this model and realize real-time linkage adjustments of all disciplines. All drawings can also be generated directly through these three-dimensional models.This idea is undoubtedly beautiful. If such technology is applied in the actual design process, the work efficiency of architects and engineers will undoubtedly be greatly improved.At present, many companies have seen the potential of such technical paths and have begun various attempts.However, the process of exploration is undoubtedly tortuous. At present, there are few cases of successful application of professional 3D forward design.There are many reasons for this situation, and a very important reason is that there is currently no very reliable forward design collaboration tool on the market.In order to solve this problem, this article explores the method of real-time linkage between YJK and Revit based on the YJK-GAMA digital intelligent design platform.

Currently, Revit has interfaces based on Rhino and grasshopper.YJK can establish connections with Rhino and Grasshopper through YJK-GAMA.Therefore, we tried to establish a real-time linkage interface between YJK and Revit through YJK-GAMA and grasshopper.

  1. Linkage between YJK and Revit models 2.1 Rhino.Inside.Revit Rhino.Inside.Revit is an open source project launched by mcneel that drives Revit models through Rhino and Grasshopper.It is a sub-project of mcneel’s Rhino.Inside project (this project also includes modules for embedding Rhino into Autocad, Unity and other software).The purpose of this project is to embed Rhino and Grasshopper into these software through secondary development, so that Rhino becomes a plug-in that can control these software, and Grasshopper becomes a plug-in for the Rhino plug-in. Before installing Rhino.Inside.Revit, any version of Rhino7 and Revit2018-2022 needs to be pre-installed.Components can be downloaded through Food4Rhino.Revit can be started directly after the component is installed.The following prompt will appear during the startup process:

Image

Click Always Load directly, and Rhino.Inside.Revit will be automatically loaded when you start Revit.

Image

After starting Revit, the Rhino.Inside menu will appear in Revit.Click the Start button to activate the Rhino.Inside component.

Image

Image

Click the Rhino button to activate the Rhino interface.Click the grasshopper button to activate the grasshopper interface.The grasshopper interface contains Revit-related panels, which contain many batteries for Revit-related functions.We can directly control Revit through these two interfaces. 2.2 Transfer Revit objects to YJK After opening the interface, we can directly obtain the objects in the Revit model through grasshopper.

Image

Take a pillar as an example: we can load a graphical element battery in grasshopper.Right-click on the structure object that needs to be loaded.In this way, the components in the Revit model are loaded into grasshopper.

Image

We can obtain the unit line of the column in Rhino through the ElementCurve in Element.We can also obtain the cross-sectional dimensions of the column through element type battery and type identity battery. In this way, we can fully obtain all the information about the column.

Image

Image

Image

Next, we only need to transfer the obtained Revit component information to YJK through the Gama interface to complete the real-time linkage between YJK and Revit data.Here, we only need to transfer the axis of the column and the cross-sectional dimensions of the column to YJK.

Image

Since sections in Revit are defined through families, we can complete the conversion of section parameters by getting the type name of the section family, and then through character operations in grasshopper.

Image

After the data in grasshopper is transferred to YJK, the logic of model generation can be built directly in YJK-GAMA.In this way, real-time linkage between Revit and YJK data can be achieved.

Image

We can see that when moving the column in Revit, the column in YJK also moves accordingly.Corresponding cross-sectional dimensions can also be linked simultaneously. 2.3 Transfer YJK objects to Revit Similarly, we can synchronously transfer model data in YJK to Revit in reverse.

Image

First, we can load the components that need to be transferred in YJK. Here, we load the YJK components in YJK-GAMA by clicking. Then, we decompose the column card and obtain the parameters related to the column.

Image

Next, send the components in YJK to grasshopper on Revit by sending curves.

Image

In grasshopper, we can obtain families such as floors through Get Family under the Input tab, and load existing families and attributes in Revit.

Image

We can synchronize the columns created in YJK to Revit through the curves passed from YJK and the families loaded from Revit.

Image

But there is a small flaw here, that is, Rhino.Inside will block some synchronization functions. Therefore, when the columns in YJK are modified, grasshopper cannot respond to the modifications. Recompute needs to be rerun on the gh canvas to load the modified objects into Revit. Next, let us look at an example of real-time linkage of a simple frame model in YJK and Revit:

Image

  1. Summary We can find that through the data interaction between YJK-GAMA and Grasshopper, Revit can achieve two-way data exchange with YJK.So, can we make such an assumption?Throughout the design process, we use Revit modeling and use Revit’s three-dimensional design capabilities and drawing capabilities to replace CAD drawings where appropriate.Through data interaction between YJK-GAMA and the YJK model, real-time updating and adjustment of the structural model can be achieved.Concentrate most of the work on one model instead of repeatedly synchronizing between different models to perform mechanical repetitive operations.Will this improve our current workflow and save everyone’s working time?

All model interaction case files in this article have been uploaded to Baidu Cloud Disk, and everyone is welcome to download and use them. Download address: https://pan.baidu.com/s/1xp7qBWrnzIWxRgylIPb_8g  Extraction code: 4167

Image

YJK-GAMA has now been upgraded to version 1.2 Join the QQ group and let’s explore together The infinite possibilities of YJK-GAMA!

Image

Contact us “Da Feier”. Join the “Digital Intelligent Design of Building Structures” WeChat exchange group, Let’s communicate and discuss cutting-edge technologies such as digitalization and intelligence Application in the architectural design industry.

Image

We also welcome like-minded partners to join us. Let’s do something fun together.

Image

Next we will bring you more surprises, stay tuned Let’s go public!


This document is automatically collected and organized by AI from non-deconstructed public accounts and is for learning reference only.

#wechat

Original Source: https://mp.weixin.qq.com/s/IcYycCar9KQeiE9g2_ddmw

§

评论

COMMENT / REVIEW REQUIRED

LOADING…