<div dir="ltr">Please report a bug on <a href="http://developer.blender.org">developer.blender.org</a><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(153,153,153)"><span style="color:rgb(0,0,0)">Aaron Carlisle</span><br></span><div><span style="color:rgb(153,153,153)"><br>Picture taker | Bit cruncher | Pixel pusher | Document writer | Artist<br></span></div><div><span style="color:rgb(153,153,153)">Project administrator for the Blender 3D Documentation Project</span></div></div></div></div>
<br><div class="gmail_quote">On Mon, May 1, 2017 at 5:29 AM, dima glib <span dir="ltr">&lt;<a href="mailto:dima.glib@gmail.com" target="_blank">dima.glib@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Indeed, bpy.types.Macro is a pretty useful mechanism which is left completely unexplained in the official documentation. I had no idea that stringing operators together is even possible until I accidenatlly stumbled upon Macro usage in someone&#39;s code. Just in case, here&#39;s one more link to a stackexchange question regarding Macro:<br><a href="https://blender.stackexchange.com/questions/39716/running-code-after-a-modal-operator-finished-its-job" target="_blank">https://blender.stackexchange.<wbr>com/questions/39716/running-<wbr>code-after-a-modal-operator-<wbr>finished-its-job</a><br></div><br></div>Hm, perhaps this discussion also concerns           <a href="mailto:bf-docboard@blender.org" target="_blank">bf-docboard@blender.org</a>?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 1, 2017 at 5:25 AM, James Crowther <span dir="ltr">&lt;<a href="mailto:jamesharrycrowther@gmail.com" target="_blank">jamesharrycrowther@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi there, <div><span class="m_3205824736218146746m_-4852651638959387464Apple-tab-span" style="white-space:pre-wrap">        </span>After spending some time researching the bpy.types.macro class both in the api an on blender stack exchange, I’m keen to learn more about macros, the code I have found suggests that it can be used to group operators together into a single operation (ref blender stack exchange - &gt; <a href="https://blender.stackexchange.com/questions/60385/macro-operator-children-are-not-called-from-python" target="_blank">https://blender.stackexchang<wbr>e.com/questions/60385/macro-<wbr>operator-children-are-not-<wbr>called-from-python</a>). But the blender python api really doesn’t give information on what the use case for macros are. Things like modal operators overriding context are well explains, but macros seem to be a bit secretive! It would be great to see some more informative documentation on the subject. Since it appears that others (see the webpage link above) are finding it difficult to get even basic examples to work as desired. If someone could give a quick introduction to macros and what they are best used for, it would be greatly appreciated!</div><div><br></div><div><br></div><div>Kind Regards</div><span class="m_3205824736218146746HOEnZb"><font color="#888888"><div><br></div><div>James</div><div><br></div><div><br></div></font></span></div><br>______________________________<wbr>_________________<br>
Bf-python mailing list<br>
<a href="mailto:Bf-python@blender.org" target="_blank">Bf-python@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-python" rel="noreferrer" target="_blank">https://lists.blender.org/mail<wbr>man/listinfo/bf-python</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Bf-docboard mailing list<br>
<a href="mailto:Bf-docboard@blender.org">Bf-docboard@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-docboard" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-docboard</a><br>
<br></blockquote></div><br></div>