← Back to team overview

yade-users team mailing list archive

Re: help for solving an error

 

>           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





Follow ups

References