<div dir="ltr"><div><div><div><div><a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank"></a>Quick question from James Holton and myself.<br><br></div>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.<br><br></div>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.<br><br></div>How can this be done within a simple add_property() paradigm?<br><br></div>Nick<br></div>