Quick question from James Holton and myself.

We want to use a boost python *.add_property() to add a make_getter and make_setter to our wrapper, so we can expose a class variable to the Python layer.

However, we want to execute a change of measurement units, i.e., the Python value will always be given in millimetres, and the C++ value always in metres.

How can this be done within a simple add_property() paradigm?

Nick