Femtet2025.1マクロヘルプ/マニュアル
 

ホーム / 計算結果の抽出 / CGoghVertex / プロパティ / Index

Indexプロパティ

定義

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

引数

引数はありません

解説

点トポロジ配列のインデックスを取得します。
これは、全ての点トポロジで、一意の番号です。

実行例

Dim Femtet As New CFemtet
Dim Gogh As CGogh

'プロジェクトを開く
If Femtet.LoadProject("C:\test\test.femprj", True) = False Then
    Femtet.ShowLastError
End If

'Femtet.Goghを変数Goghに代入して使いやすくする
Set Gogh = Femtet.Gogh

'計算結果を開く
If Femtet.OpenPDT("C:\test\test.pdt") = False Then
    Femtet.ShowLastError
End If

MsgBox Gogh.Data.GoghVertexArray(0).Index, vbInformation, "Index"