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

ホーム / ボディ属性の設定 / CLamination / 関数 / SetStackingDirection

SetStackingDirection関数

定義

SetStackingDirection(X As Double, Y As Double, Z As Double)

戻り値

なし

引数

X   磁場方向ベクトルX
Y   磁場方向ベクトルY
Z   磁場方向ベクトルZ

解説

積層方向ベクトルを指定します。
磁場過渡解析(Luvens)でのみ使用できます。

実行例

Dim Femtet As New CFemtet
Dim Btr As CBodyAttribute

If Femtet.OpenNewProject() = False Then
    Femtet.ShowLastError
End If

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

Btr.Add "BodyAttributeA"

Btr.Lamination(0).SetStackingDirection 0, 1, 0