🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

TCL script to import patran group session file (.ses)

User: "Madlen"
Altair Community Member
Updated by Madlen

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"?>image.thumb.png.8801c5a31d871295c33545bba1a26ccc.png

Thank you

Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    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 :-)

    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Have a look the script 'default_component.tcl' within  'hm/scripts/browser'.

    Maybe you found some good idea to code.

    User: "Madlen"
    Altair Community Member
    OP
    Updated by Madlen

    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.

    User: "Jonny_CAP"
    Altair Community Member
    Updated by unknown
    I was exactly the reverse operation! tcl to export .ses file ! Can you tell me exactly where can I find it?
    User: "Ben Buchanan"
    Altair Employee
    Updated by Ben Buchanan

    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.