[Bf-docboard] [Bf-python] bpy.types.macro - use cases

dima glib dima.glib at gmail.com
Tue May 2 05:10:26 CEST 2017


Made a bug report: https://developer.blender.org/T51387

On Mon, May 1, 2017 at 11:47 PM, Aaron Carlisle <carlisle.b3d at gmail.com> wrote:
> Please report a bug on developer.blender.org
>
> Aaron Carlisle
>
> Picture taker | Bit cruncher | Pixel pusher | Document writer | Artist
> Project administrator for the Blender 3D Documentation Project
>
> On Mon, May 1, 2017 at 5:29 AM, dima glib <dima.glib at gmail.com> wrote:
>>
>> 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's code. Just in case, here's one more link to a
>> stackexchange question regarding Macro:
>>
>> https://blender.stackexchange.com/questions/39716/running-code-after-a-modal-operator-finished-its-job
>>
>> Hm, perhaps this discussion also concerns  bf-docboard at blender.org?
>>
>> On Mon, May 1, 2017 at 5:25 AM, James Crowther
>> <jamesharrycrowther at gmail.com> wrote:
>>>
>>> Hi there,
>>> 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 - >
>>> https://blender.stackexchange.com/questions/60385/macro-operator-children-are-not-called-from-python).
>>> 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!
>>>
>>>
>>> Kind Regards
>>>
>>> James
>>>
>>>
>>>
>>> _______________________________________________
>>> Bf-python mailing list
>>> Bf-python at blender.org
>>> https://lists.blender.org/mailman/listinfo/bf-python
>>>
>>
>>
>> _______________________________________________
>> Bf-docboard mailing list
>> Bf-docboard at blender.org
>> https://lists.blender.org/mailman/listinfo/bf-docboard
>>
>
>
> _______________________________________________
> Bf-docboard mailing list
> Bf-docboard at blender.org
> https://lists.blender.org/mailman/listinfo/bf-docboard
>


More information about the Bf-docboard mailing list