ホーム / モデリング / CGaudiEdge / プロパティ / VertexNum
VertexNumプロパティ
定義
VertexNum As Long| 値の取得 | ○ | |
| 値の設定 | × |
引数
ありません
解説
CGaudiVertexの数を取得します(普通は2つ)。
実行例
CGaudiVertexの数をメッセージボックスで表示します。
Dim Femtet As New CFemtetDim Gaudi As CGaudi
Dim Body As CGaudiBody
Dim Point As New CGaudiPoint
'新規プロジェクト作成
If Femtet.OpenNewProject() = False Then
Femtet.ShowLastError
End If
'Femtet.Gaudiを変数Gaudiに代入して使いやすくする
Set Gaudi = Femtet.Gaudi
Point.X =0
Point.Y =0
Point.Z =0
Set Body =Gaudi.CreateBox(Point,8,5,5)
MsgBox Body.GetEdgeByID(28).VertexNum,vbInformation


