TCL script to import patran group session file (.ses)
Hello!
I need to make a script which is creating sets from patran groups, reading .ses file. In last HyperWorks this function is realised with help of Set Browser. Does somebody know which command can do this in tcl script or how to find this in program folders/scripts?
<?xml version="1.0" encoding="UTF-8"?>
Thank you
Answers
-
I don't know where's this script. But by checking .SES file, I found the format is simple. So you can write yourself the script :-)
0 -
Have a look the script 'default_component.tcl' within 'hm/scripts/browser'.
Maybe you found some good idea to code.
0 -
Hello Q.Nguyen-Dai. Thank you!
Yes I have already looked at this code, it is for opposite operation export ses; there are some tips here.
0 -
I was exactly the reverse operation! tcl to export .ses file ! Can you tell me exactly where can I find it?0
-
Giovanni Capasso said:
I was exactly the reverse operation! tcl to export .ses file ! Can you tell me exactly where can I find it?
@Giovanni Capasso Isn't the ExportToSession procedure in the default_component.tcl what you are looking for?
@Madlen Strange they don't have an import procedure in that same file.
0