Note: You may need to denote a specific version of Python, such as python3, in the $!SYSTEM command. $!SYSTEM 'python -O "/path/to/py/script/Histogram.py" "|varname|" "|numbins|"' Instructions = "Enter the number of bins" The tecplot.mcr file can be found in the Tecplot 360 installation folder (for example, …\Tecplot\Tecplot 360 2019 R1\): $!MacroFunction Name = "Histogram" It is also recommended that you install the latest version of Tecplot 360.Ģ) For Histogram.py, add the following to the tecplot.mcr file. Yes! This procedure describes how to add a PyTecplot script to your QMP using the Histogram.py (found in the python handy scripts of our GitHub):ġ) Make sure PyTecplot is installed and updated, along with other modules used in your PyTecplot script (such as numpy). < Back Adding a PyTecplot Script to the Quick Macro Panel Add-on, Macro, Pytecplot, Tecplot 360 December 18, 2019Ĭan I play a PyTecplot script from the Quick Macro Panel (QMP) in Tecplot?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |