<div dir="ltr">Hi Saber, <div><br></div><div>From the link you sent, I tried some code lines. For instance, I tried "<span class="gmail-n" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">iface</span><span class="gmail-p" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">.</span><span class="gmail-n" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">mapCanvases3D</span><span class="gmail-p" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">()" but It doesn't seem to work, I'm getting the following error: AttributeError: 'QgisInterface' object has no attribute 'mapCanvases3D'. I'm working on QGIS 3.34.5. </span></div><div><span class="gmail-p" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box"><br></span></div><div><span class="gmail-p" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box"><br></span></div><div><span class="gmail-p" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">Kind regards, </span></div><div><span class="gmail-p" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box"><br></span></div><div><span class="gmail-p" style="color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:inherit;letter-spacing:0.5px;box-sizing:border-box">Abdelghani</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 12 Apr 2024 at 15:49, Saber Razmjooei <<a href="mailto:saber.razmjooei@lutraconsulting.co.uk">saber.razmjooei@lutraconsulting.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>You can find more code snippet and examples here:</div><div><a href="https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/" target="_blank">https://www.lutraconsulting.co.uk/blog/2024/02/05/new-features-in-qgis-36/</a><br></div><div><br></div><div>Kind regards</div><div>Saber</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 12 Apr 2024 at 11:58, Johannes Kröger (WhereGroup) via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
afaik the 3D Python API is not fully finalized yet. But you can already <br>
control some aspects of it from Python, mostly the views themselves. <br>
This was added recently, see <a href="https://github.com/qgis/QGIS/pull/55862" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/pull/55862</a><br>
<br>
Have fun!<br>
Hannes<br>
<br>
On 12.04.24 11:30, Abdelghani Tamort via QGIS-Developer wrote:<br>
> Hello,<br>
><br>
> I want to post a message (which contains an inquiry) to the qgis <br>
> developer list.<br>
> The message is the following:<br>
><br>
> Is there a solid documentation/tutorials on handling 3D on QGIS's <br>
> python API ? Currently working on a QGIS plugin that exports data in <br>
> 3D format and trying to make use of the 3D views in QGIS to visualize <br>
> the outputs. I am aware of the Qgis2threejs plugin <br>
> (<a href="https://github.com/minorua/Qgis2threejs" rel="noreferrer" target="_blank">https://github.com/minorua/Qgis2threejs</a>) but I am more interested in <br>
> working with the native 3D handling of QGIS.<br>
><br>
><br>
> Thanks in advance<br>
><br>
><br>
> Abdelghani TAMORT<br>
><br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br>
-- <br>
Johannes Kröger / GIS-Entwickler/-Berater<br>
<br>
---------------------------------------------<br>
Aufwind durch Wissen!<br>
Web-Seminare und Online-Schulungen<br>
bei der <a href="http://www.foss-academy.com" rel="noreferrer" target="_blank">www.foss-academy.com</a><br>
---------------------------------------------<br>
<br>
WhereGroup GmbH<br>
c/o KK03 GmbH<br>
Lange Reihe 29<br>
20099 Hamburg<br>
Germany<br>
<br>
Tel: +49 (0)228 / 90 90 38 - 36<br>
Fax: +49 (0)228 / 90 90 38 - 11<br>
<br>
<a href="mailto:johannes.kroeger@wheregroup.com" target="_blank">johannes.kroeger@wheregroup.com</a><br>
<a href="http://www.wheregroup.com" rel="noreferrer" target="_blank">www.wheregroup.com</a><br>
Geschäftsführer:<br>
Olaf Knopp, Peter Stamm<br>
Amtsgericht Bonn, HRB 9885<br>
-------------------------------<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Saber Razmjooei<br></div><div><a href="http://www.lutraconsulting.co.uk" target="_blank">www.lutraconsulting.co.uk</a><br><br></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>