Question #699437 on Yade changed:
https://answers.launchpad.net/yade/+question/699437
Status: Open => Answered
Jan Stránský proposed the following answer:
> for load:
>
> from yade.params.somethingtest import *
> o.load('Tablet_swelling.xml')
> utils.loadVars('somethingtest')
>
> I am getting error message saying: ModuleNotFoundError: No module named
> 'yade.params.somethingtest'; 'yade.params' is not a package.
you first need to load it, then import from it. The order of commands
matters.
saveVars, then O.save
O.load, then loadVars, then from yade.params... import *
Cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp