I would personally prefer a more direct coupling, otherwise the command, if invoked by itself, does nothing or potentially can pick up stale cached values from the shared location. The pointer approach just felt more direct to me since my command wrapper was implemented in a C++ plugin.
Cheers! On Sun, Mar 25, 2018 at 11:53 AM, Marcus Ottosson <[email protected]> wrote: > Ooo nice. :) > > Out of these two options - one retrieving an object from memory via ctypes > and the other via a shared object - which do you prefer? The shared object > pollutes sys.modules whereas retrieving from memory requires some > explanation, and is potentially a few cycles more expensive? > > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/python_inside_maya/CAFRtmOCdurM2f0CJG7K3f-Se4wwe% > 3DBs7go8yXs0HrRODSb_NnQ%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCdurM2f0CJG7K3f-Se4wwe%3DBs7go8yXs0HrRODSb_NnQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPCVZ5Nd9%2BeZ7uOGoubeGmcBS4BgAn5Sa98RZn3x98fHxpaxNw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
