Import from .csv to .rad

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hey Guys!

 

I would like to ask you that do you know such kind of script that could import data from a .csv file and export it to a .rad file to change material data or something. I would like to accelerate my work in RADIOSS to manipulate the .rad file. I would like to change the .rad file as fast as possible, that's why I thought about script.
Thanks for your anwer in advance!

Best regards,

Tüki

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited December 2017

    Hi Tuki,

    This can be done through TCL scripting. We need to read the csv data from the file and then create/modify entities in HM using HM APIs and then export the RADIOSS file.

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited December 2017

    If you could edit directly your .rad file, you can program in any language to read data from  .csv and write to .rad file.

    If you have to pass by Hypermesh interface, you can write TCL script to read data from .csv file, import directly into Hypermesh database and export them to .rad output.