页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

  1. Add the 'Start_3.ghx' code to the canvas.
    • You do that by downloading the zip file at the bottom of this page and extracting its content.
    • Then open the 'Start_3.ghx' file by going to File > Open Document... in your Grasshopper window.
    • You can now select all of the Grasshopper code by hitting Ctrl+A on the keyboard and copy it using Ctrl+C.
    • Then switch back to the document you were working on in the previous procedure by going to the upper right corner of the Grasshopper window and clicking on the title of the current document (Start_3).
    • You then get a drop-down of all the active Grasshopper scripts, so open 'End_2.ghx'.
    • Now click on the canvas and hit Ctrl+V to paste the 'Start_3.ghx'-code.

      Image Modified

  2. This code has some post-baking settings of classified and baked beams and columns:
    • The script uses the Get Properties Names component to display the BIM properties in the Property Category '.
    • In those properties, it selects item 1 for the columns and item 0 for the beams, 'ColumnType' and 'BeamType' respectively.
    • To conclude, it sets the properties to the value specified in the Panel components, using the Set Property Value components.
  3. To make the script work, bake the two Bake Building Element components that make up the railing.
  4. Now link the Building Element output of the Bake Building Element components to the respective Building Element input of the Get Properties Names components.
  5. 同样,将“烘焙建筑元素”组件的“建筑元素”输出链接到“设置属性值”组件的相应“建筑元素”输入
  6. 如果现在在THCAD中选择一列并打开其属性,则ColumnType将设置为“钢柱”。当您更改面板组件的值时,THCAD中的属性会实时更改。
  7. 结果脚本:“ End_3.ghx”可在此页面底部的zip文件中找到。它可以与“ End_3.dwg”文件一起使用,在该文件中没有任何内容。烘焙所有建筑元素,以获取烘焙后设置。


...