← Back to team overview

yade-users team mailing list archive

Re: AttributeError: 'Sphere' object has no attribute 'name'

 

> Why that??
> 
> sega@think:~/work/yade/trunk/>yade-trunk
> Welcome to Yade bzr2417
> 
> Yade [1]: s=utils.sphere([0,0,0],1)
> Yade [2]: s.shape.name
OK, sorry, I didn't put that to the changelog. Use pure python way,
s.shape.__class__.__name__, we don't need yade specific hack for that
anymore. Thaks for notifying me of the manual errors, I will fix that. 

Cheers, v.






Follow ups

References