I’d assume you wouldn’t need this as well… but if you were to also add the following to the initialize:
status = attributeAffects(aShapeType, aState); Would that change anything? On Tue, Feb 4, 2025 at 3:30 AM Marcus Ottosson <konstrukt...@gmail.com> wrote: > Hi all, > > Both me and the gpt's of the world are confused about why this evaluation > isn't happening like we'd expect. > > 1 node, 3 plugs. > > shapeType -> outputMesh -> state > > Reading from `state` should pull and compute `outputMesh`, which in turn > pulls and reads from `shapeType`. And it does, but only once. > > Changing `shapeType` should cause both `outputMesh` and state to become > dirty, such that the next time I read from `state`, it should compute it > once more. > > But it does not. :( Why? > > I've put together a reproducible here, can anyone spot the problem? Help! > > - https://gist.github.com/mottosso/e02a2d58482eae3e36be9d9cbd3040d1 > > -- > 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 python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/python_inside_maya/1b63e13c-1a5b-4566-92b3-ebab5a061dd9n%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/1b63e13c-1a5b-4566-92b3-ebab5a061dd9n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/python_inside_maya/CANfFM4q-VKzYxH%2BOaTDT-g9HWeoMSx-XE_9-kEGBut3s9Mxg4Q%40mail.gmail.com.