I have a PCL file which consists of following lines for the first few lines.
uil_file_new.go( "C:\MSC.Software\Patran_x64\20121/template.db", @
"C:\Users\IMEMS SDC\Desktop\patran\plate.db" )
set_current_dir( "C:\Users\IMEMS SDC\Desktop\patran" )
The uil_file_new.go which is a default command for creating new database in patran. Now i want to keep the file name as an user input so that directory name should automatically picked-up for execution.
or one more option either user has to input both filename and dir name for execution of patran. How to associate filename and directory name for execution in MSC patran.
For execution of patran through python, the following command would be used
os,system('patran -sfp') which opens up patran window but file is not associating.
How to do that.