← Back to team overview

yade-users team mailing list archive

Re: help for solving an error

 

It is fixed now.

Bruno


Václav Šmilauer a écrit :
          File "MyProject/ConnectiveModelTest.py", line 65, in
        myAddPlotData
            plot.addData(Fn=i.phys.normalForce[0],
        AttributeError: 'InteractionPhysics' object has no attribute
        'normalForce'

I use CohesiveFrictionalContactInteraction!!!
this error is because of :
FIXME: class CohesiveFrictionalContactInteraction does not register
with YADE_CLASS_BASE_DOC_ATTR*; will be inaccessible from python.

now If I want to use this type of interaction, what should I do?

You can either convert it to use YADE_CLASS_BASE_DOC_ATTR_* yourself,
which I don't recommend to you as newcomer.

I would hope that people who care about that class will fix it
themselves soon: https://bugs.launchpad.net/yade/+bug/544857 (is someone around? Bruno?
Luc? Janek??)

v



_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp



--
_______________
Bruno Chareyre
Associate Professor
Grenoble INP
Lab. 3SR
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________




References