How do I create a Warning message in the Mechanical message window using ACT?

Sascha Hell
Member, Employee Posts: 11
✭✭✭


I would like to create a warning message in the Mechanical Messages window. How can I do that using ACT?
Tagged:
0
Best Answer
-
You can create a Warning message in the Mechanical message window by using the following command lines:
msg = Ansys.Mechanical.Application.Message('my Warning message as string...', MessageSeverityType.Warning) ExtAPI.Application.Messages.Add(msg)
Some more information can be obtained from the ANSYS Help: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v195/act_script/mech_apis_MessageWindow.html
0