Loading of the model data from the xml description file (.mbs) generated by MBSysPad to MBSysPy.
For loading the model, insert the following code in your main routine and adapt it to your need:
mbs_data = MBsysPy.MbsData("../dataR/my_mbs_file.mbs") # Optionally print the contents of the system print(mbs_data)
The loading is performed by instancing an instance of
different options to instancing the class are given in the function
MbsData.process is used to inform every module
using the instance what is the current process running on it. This value is
not required by MBsysPy, it my be used by the user in the user-defined
function of the multibody system.