#File_1
def pressButton():
for nodes in file_2.selection():
print nodes
#File_2
def selection():
pymel.core.selection(n="transforms")
File_1
from file_2 import selection as sel
def create_window():
def pushButton():
file_2.sel()File_2
import pymel.core
def selection():
pymel.core.selection(n="transforms")# File_1
from file_2 import selection as sel
def create_window():
def pushButton():
sel()
I don’t get any errors it just doesn’t pass but it does freeze up on me.
Padraig O Cuinn
Technical Director / Artist
I don’t get any errors it just doesn’t pass but it does freeze up on me.
Padraig O Cuinn
Technical Director / Artist
--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/005c01d23147%24b83f7050%2428be50f0%24%40Gmail.com.
For more options, visit https://groups.google.com/d/optout.
Please provide a small reproduction of the problem via pastebin or gist. After Roberts suggestion to correct a naming issue, I can't see anything else wrong in your small snippets of code.
On Sat, 29 Oct 2016, 7:18 AM Padraig O Cuinn <patchquin...@gmail.com> wrote:I don’t get any errors it just doesn’t pass but it does freeze up on me.
Please provide a small reproduction of the problem via pastebin or gist. After Roberts suggestion to correct a naming issue, I can't see anything else wrong in your small snippets of code.
--
Padraig O Cuinn
Technical Director / Artist
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+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/005c01d23147%24b83f7050%2428be50f0%24%40Gmail.com.
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 python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1h_A1r4qeos06OQpC9Gjr5yPF-CaSexvHEAe5Rcquyzg%40mail.gmail.com.