MotionView Model Input from File

inasiopo
inasiopo New Altair Community Member
edited October 2020 in Community Q&A

Dear all,

 

We are building a motionview model. It is a full vehicle (special vehicle) model, so it is complex but it works fine.

 

Our question is if we can have a file (VehicleFile.txt) with all the info of the vehicle inside, such as connection points co-ordinates, masses, inertia, stiffnesses, etc. and link it with our model. So instead of having to modify the .mdl file, we can just modify the .txt file, and have everything in the mdl updated.

 

Is that possible?

 

Also, once we run the model, motionview creates a .xml file. Can we import this back to motionview. So if we do not have the .mdl, can we view the model and modify by using the .xml?

 

Many thanks,

Elias

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Hi @inasiopo

     

    Our question is if we can have a file (VehicleFile.txt) with all the info of the vehicle inside, such as connection points co-ordinates, masses, inertia, stiffnesses, etc. and link it with our model. So instead of having to modify the .mdl file, we can just modify the .txt file, and have everything in the mdl updated.

     

    Yes, if the modified format respects MDL guidelines. You can learn more about MDL from MotionView Tutorials>>Model Definition Language,

     

    Also, once we run the model, motionview creates a .xml file. Can we import this back to motionview. So if we do not have the .mdl, can we view the model and modify by using the .xml?

    .XML is the solver file, you can use the run the simulation. You can modify, customize the content but I don't think you can view the same in MV  as with.mdl file