hexagon logo

PCL; function which exports current group to bdf

Hello!
I am trying to write a function which will export current group to bdf. I tried to follow jou file produced during Patran export but it is difficult for me to find the essential input to pat3nas. Could you help to find out what is wrong with the function? Why does it crash Patran?

Attached Files (1)
Parents
  • Hi Adam, I can't be sure I'm getting the same error as you. Assuming I am, then the problem is with the subcase name in line 128:
     
    mscnastran_job.associate_subcases( "1", sname, 1, [ "Step 1 for job _o__import"] )
     
    When I run the routine Patran crashes because I don't have a loadcase of that name. In the history window, just before the crash, I get the following error (strangely this doesn't appear in the session file!):
     
    Please rename subcase, there has been a naming error
     
    Screen Shot 09-22-22 at 02.59 PM
     
     
Reply
  • Hi Adam, I can't be sure I'm getting the same error as you. Assuming I am, then the problem is with the subcase name in line 128:
     
    mscnastran_job.associate_subcases( "1", sname, 1, [ "Step 1 for job _o__import"] )
     
    When I run the routine Patran crashes because I don't have a loadcase of that name. In the history window, just before the crash, I get the following error (strangely this doesn't appear in the session file!):
     
    Please rename subcase, there has been a naming error
     
    Screen Shot 09-22-22 at 02.59 PM
     
     
Children
No Data