CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (http://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [DesignModeler] How to call a function from another js script file? (http://www.cfd-online.com/Forums/ansys-meshing/99824-how-call-function-another-js-script-file.html)

vak27 April 12, 2012 09:49

How to call a function from another js script file?
 
Hi folks,
anybody knows how to call a js function, which I written earlier and keep in a separate file? In other words, I am developing a DM script in file1.js and want to call a function MyFunc(..), which is defind in file2.js in the same directory as file1.js.
Thank you.


All times are GMT -4. The time now is 18:58.