Model loading ============= Loading of the model data from the xml description file (.mbs) generated by MBSysPad to MBSysPy. Code sample ----------- For loading the model, insert the following code in your main routine and adapt it to your need: .. code-block:: python mbs_data = MBsysPy.MbsData("../dataR/my_mbs_file.mbs") # Optionally print the contents of the system print(mbs_data) Use --- .. py:currentmodule:: MBsysPy.mbsyspy.mbs_data The loading is performed by instancing an instance of :py:class:`MbsData`. The different options to instancing the class are given in the function :py:func:`MbsData.__init__`. .. note:: The field :py:attr:`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.