Instruction File

The Instruction file (pipe1.py) contains the Python code that displays a message box.

import clr
clr.AddReference("Ans.UI.Toolkit")
clr.AddReference("Ans.UI.Toolkit.Base")

from Ansys.UI.Toolkit import *

MessageBox.Show("Example!")

Release 18.2 - © ANSYS, Inc. All rights reserved.