ホーム / モデリング / CGaudiBody / 関数 / GetEdgeByID
GetEdgeByID関数
定義
GetEdgeByID(ID As Long) As CGaudiEdge戻り値
| CGaudiEdge | (辺トポロジ) |
引数
| ID | CGaudiEdgeの識別ID |
解説
指定されたIDで識別される辺トポロジを返す。失敗した場合は、Nothingが返ります。
IDは辺トポロジをピックした時に表示されます。
実行例
Dim Femtet As New CFemtetDim Gaudi As CGaudi
Dim Box As CGaudiBody
Dim Point As New CGaudiPoint
'新規プロジェクト作成
If Femtet.OpenNewProject() = False Then
Femtet.ShowLastError
End If
'Femtet.Gaudiを変数Gaudiに代入して使いやすくする
Set Gaudi = Femtet.Gaudi
Point.SetCoord 0, 0, 0
Set Box = Gaudi.CreateBox(Point, 10, 10, 10)
Box.GetEdgeByID(34).AddBoundary "Boundary"


