<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="2"><span style="font-size:10pt;">Hello,<br>
I'm working on a Python plugin with 3D features. But I have some issues with the available methods.<br>
<br>
What I'm doing :<br>
<br>
- layer->startEditing, to set the layer editable if it's not yet the case (asking the user to do it)<br>
- feature->geometry->geometry, to have the 3D geometry for my feature<br>
- then I manipulate the geometry<br>
- layer->changeGeometry, to update the geometry of my feature<br>
Until the, It works fine...<br>
- I keep my layer editable, and try to do the same with another feature<br>
- but : I can do feature->geometry, but feature->geometry->geometry give me "Access violation - no RTTI data!"<br>
- and if I add updateExtents + commitChanges to save my layer, and try to do the same again, the feature->geometry->geometry leads to a mini dump<br>
<br>
Anyone to explain to me what's going on ?<br>
<br>
Thanks for the answer,<br>
<br>
Christophe Gusthiot<br>
</span></font></div>
</body>
</html>