Femtet2026.0マクロヘルプ/マニュアル
 

ホーム / モデリング / CGaudi / 関数 / SetVisibleStateByBodyAttributeName

SetVisibleStateByBodyAttributeName関数

定義

SetVisibleStateByBodyAttributeName ( BodyAttributeName As String, bVisible As Boolean )  

戻り値

ありません

引数

BodyAttributeName   ボディ属性名
bVisible   表示状態 [True:表示 / False:非表示]

解説

引数で指定された属性名のボディの表示状態をまとめて設定します。

実行例

Dim Femtet As New CFemtet

 

If Femtet.LoadProject("C:\Test\test.femprj", True) = False Then

    Femtet.ShowLastError

End If

 

'表示状態を設定

Femtet.Gaudi.SetVisibleStateByBodyAttributeName "Air", False