MacroHelp
 

ホーム / モデリング / CGaudiFace / プロパティ / ID

IDプロパティ

定義

ID As Long
値の取得  
値の設定   ×

引数

引数はありません

解説

CGaudiFaceを識別するBody内で一意のIDを取得します。

実行例

Dim Femtet As New CFemtet
Dim 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)

Msgbox Box.Face(0).ID, vbInformation