<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1819806546;
        mso-list-type:hybrid;
        mso-list-template-ids:-53071752 -721748506 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:23.4pt;
        text-indent:-18.0pt;
        mso-ansi-font-size:9.5pt;
        font-family:Consolas;
        mso-bidi-font-family:Consolas;
        color:black;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:59.4pt;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:95.4pt;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:131.4pt;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:167.4pt;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:203.4pt;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:239.4pt;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:275.4pt;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:311.4pt;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1863006946;
        mso-list-type:hybrid;
        mso-list-template-ids:-1813854396 -893249172 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l1:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:41.4pt;
        text-indent:-18.0pt;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:77.4pt;
        text-indent:-18.0pt;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:4.0cm;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:149.4pt;
        text-indent:-18.0pt;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:185.4pt;
        text-indent:-18.0pt;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:221.4pt;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:257.4pt;
        text-indent:-18.0pt;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:293.4pt;
        text-indent:-18.0pt;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:329.4pt;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m having an issue with the documentation this morning. I’m writing a small python plugin and adding rubberbands to the canvas which is fine but for some reason I can’t seem to remove them from the canvas at the end.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To start with, this is because I’d not put anything in to remove them but now I’m using the
<span style="font-size:9.5pt;font-family:Consolas;color:black">iface.mapCanvas.scene().removeItem() function and they still are present.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black">I have two questions really:<o:p></o:p></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:5.4pt;mso-list:l1 level1 lfo2">I can’t see scene defined in the documentation for QgsMapCanvas; is this something that should be there?<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:5.4pt;mso-list:l1 level1 lfo2">Is there a way to simply remove all scenes from the canvas?<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help would be great <span style="font-family:"Segoe UI Emoji",sans-serif">
😊</span><o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt 15.0pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:11.5pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-GB">Paul Wittle
</span></b><span style="font-size:11.5pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
<td rowspan="6" style="border:none;border-left:solid #2F5597 1.5pt;padding:.75pt .75pt .75pt 15.0pt">
<p class="MsoNormal"><a href="https://www.dorsetcouncil.gov.uk/"><span style="color:windowtext;text-decoration:none"><img border="0" width="227" height="97" style="width:2.3666in;height:1.0083in" id="Picture_x0020_1" src="cid:image001.jpg@01D690BF.042E8840"></span></a><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt 15.0pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB">Business Solutions Analyst (GIS)</span></b><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt 15.0pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB">ICT Operations
</span></b><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt 15.0pt 15.0pt .75pt">
<p class="MsoNormal"><b><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB">Dorset Council</span></b><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt 15.0pt .75pt .75pt">
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB"><a href="tel:01305%20228473%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20"><span style="color:blue">01305 228473
</span></a><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt 15.0pt .75pt .75pt">
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-GB"><a href="https://www.dorsetcouncil.gov.uk"><span style="color:blue">dorsetcouncil.gov.uk</span></a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="display:none;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0">
<tbody>
<tr>
<td style="padding:15.0pt 3.75pt .75pt .75pt">
<p class="MsoNormal"><a href="https://www.facebook.com/DorsetCouncilUK"><span style="color:windowtext;text-decoration:none"><img border="0" width="46" height="46" style="width:.4833in;height:.4833in" id="Picture_x0020_2" src="cid:image002.png@01D690BF.042E8840"></span></a><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
<td style="padding:15.0pt 3.75pt .75pt .75pt">
<p class="MsoNormal"><a href="https://instagram.com/DorsetCouncilUK"><span style="color:windowtext;text-decoration:none"><img border="0" width="46" height="46" style="width:.4833in;height:.4833in" id="Picture_x0020_3" src="cid:image003.png@01D690BF.042E8840"></span></a><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
<td style="padding:15.0pt 3.75pt .75pt .75pt">
<p class="MsoNormal"><a href="https://twitter.com/DorsetCouncilUK"><span style="color:windowtext;text-decoration:none"><img border="0" width="46" height="46" style="width:.4833in;height:.4833in" id="Picture_x0020_4" src="cid:image004.png@01D690BF.042E8840"></span></a><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. It may contain unclassified but sensitive or protectively marked material and should be handled accordingly. Unless you are
 the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All traffic may be subject to recording and/or
 monitoring in accordance with relevant legislation. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Dorset Council. Dorset Council does not accept
 service of documents by fax or other electronic means. Virus checking: Whilst all reasonable steps have been taken to ensure that this electronic communication and its attachments whether encoded, encrypted or otherwise supplied are free from computer viruses,
 Dorset Council accepts no liability in respect of any loss, cost, damage or expense suffered as a result of accessing this message or any of its attachments. For information on how Dorset Council processes your information, please see www.dorsetcouncil.gov.uk/416433
</body>
</html>