| Thread Previous • Date Previous • Date Next • Thread Next |
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
--
| Thread Previous • Date Previous • Date Next • Thread Next |