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

ホーム / CFemtetクラス / CFemtet / プロパティ / LastErrorMsg

LastErrorMsgプロパティ

定義

LastErrorMsg As String
値の取得  
値の設定   ×

引数

引数はありません

解説

関数でエラーが発生した場合の詳細メッセージを取得します。

実行例

Dim Femtet As New CFemtet
Dim Gogh As CGogh
Dim Body As CGaudiBody
Dim Point As New CGaudiPoint

Set Gogh = Femtet.Gogh

Femtet.OpenNewProject

Point.X =0
Point.Y =0
Point.Z =0

Set Body =Gaudi.CreateBox (Point,0,5,5)
If Body Is Nothing Then
MsgBox Femtet.LastErrorMsg
End If
MACRO00000014.gif