Hey guys! Maybe one of you knows this. When you are dragging a shader from maya's Hypershade, how can u querry that context or how is that information stored and then pasted when you finish the drag? I need this because I have some textFields that have a drop command on them, but the drop command will only then allow me to drop my own specific strings in there and will block out anything else. You could do an if command based on a selection, so if i select the shader then i'd edit that textfield based on the selection, but the thing is woulnd't like to select the shader as that clears the current selection.
Thanks a lot. Another way around this would be to querry the textField under pointer, but i dont think that's possible, or?! -- 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/6a1c4fde-ef33-4626-a95a-39060b3de922%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
