Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Import Analysis model from universal file using API??

Dear FEMAP User,

 

In API documentation PDF, I can only import Alysis Model from ABAQUS, Ansys, Dyna, Marc, Nastran, Patran files . Is there any way to import Analysis model  from I-DEAS (Universial file) file using API???

 

Cheers,

 

cats099

5 REPLIES

Re: Import Analysis model from universal file using API??

There is currently no import functionality for I-DEAS .unv files through the API.  You can import geometry from an I-DEAS .ini with the API call 'feFileReadIdeas' in section 3.4.3.7.

 

We will consider exposing this functionality in an upcoming release.

 

Re: Import Analysis model from universal file using API??

I saw your issue so I made my own work around to the API using FEMAP's built in programming window. I attached an API below that should allow you to import the model you need, but beware it will bring up the file select window and enter in the file name for you. Also, when entering the file name in the API be aware to use double forward slashes like "\\" so that the API can read them. Finally, I made this a sub function, so you only need to paste sub onto the botom of you program and you can use it.

 

I hope this helps

 

 

Solution
Solution
Accepted by topic author cats099
‎01-13-2017 08:39 AM

Re: Import Analysis model from universal file using API??

Someone pointed out that the code only takes the last selected Analysis Model type, so I had change 

program = "{~1033} <OK> <A-t><~0><A-n>"

to

program = "{~1033} <A-I><OK> <A-t><~0><A-n>"

in order for the program to account for last selected Analysis Model type.

Re: Import Analysis model from universal file using API??

We have added feFileReadIdeas for the next release of FEMAP.

 

Mark.

Re: Import Analysis model from universal file using API??

Dear Amilier,

 

Thanks for your suggestions and it works really well as I want. 

I am very appreciated for your help. 

Best Regards,

John