On 03/02/11 13:52, Sergei D. wrote:
> Hi (Vaclav)
> How to add a read-only attrubute to a class in order to I can read it
> from python?
> I want to read a facet's normal vector from python.
>
>
Hi,
See for instance Cell.hpp:156
.def_readonly("shearTrsf",&Cell::_shearTrsf,"Current skew+rot
transformation (no resize)")
Bruno
--
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp