Yimin Chen

2023年12月3日1 分鐘

【GHPython】將Rhino的文字參考進Grasshopper中

Rhino中的文字物件是無法直接透過Container參考到Grasshopper中

因此本教學影片將會示範怎麼做到這件事情

下面列出本篇教學內容所提到的相關內容補充

import rhinoscriptsyntax as rs
 
import scriptcontext as sc
 
import Rhino
 

 
sc.doc = Rhino.RhinoDoc.ActiveDoc
 
a = rs.TextObjectText(x)
 
sc.doc = ghdoc

    310
    0