[Maya-Python] Re: Checking order of list items in 2 lists

2018-10-10 Thread davidlatwe
Hi Kiteh, Why not use `OrderedDict` in the first place ? Seems like `list01` and `list02` both from the same scene, if you are able to use `OrderedDict` instead of `dict`, you can save the order. Or, just iterating `list01` and use as key to access the `dict` value, isn't that also guaranty the

Re: [Maya-Python] Custom Maya node, with iconName like dagContainer

2018-10-10 Thread davidlatwe
`MFnDependencyNode.setIcon()` to do the trick, but I end up using Maya Python API 1.0, since 2.0 won't work. Finally, I put them together as a small tool and upload it https://github.com/davidlatwe/NodeSticker Although this thread has been here almost a year..., but welcome to have a try :) Best, David