def ui():
main_win = cmds.window(win_name, title = "TEST", width = 600, height = 600)
tab_win = cmds.tabLayout()
out_layout1 = cmds.formLayout("textureWin", parent = tab_win)
out_panel1 = cmds.TextureViewWindow()
cmds.formLayout(out_layout1, edit = True,
attachForm=[
(out_panel1, "top", 0),
(out_panel1, "left", 0),
(out_panel1, "bottom", 0),
(out_panel1, "right", 0)
--
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/e5e0e044-ffd5-45e9-96ed-be3e73153240%40googlegroups.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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/745a3b82-2ad5-4cd1-8c83-6e938ec2c2ac%40googlegroups.com.
--
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/0710b9cf-b6a6-4a60-9a15-82fe38c26efa%40googlegroups.com.
Sure. Your application can choose to store any kind of data it wants to, persistently, between launches. So if you want it to be able to store user commands, then you just have to decide where you are going to keep them.
On Thu, Aug 14, 2014 at 6:19 PM, likage <dissid...@gmail.com> wrote:
I see.
Just one last question though, using my current code, is it possible to have a tab where users can create and saved in their custom commands into this ui of mine instead of having it in the shelf?
On Thursday, August 14, 2014 10:22:03 AM UTC+8, Justin Israel wrote:They aren't in the docs because they actually aren't part of the API proper:whatIs GraphEditor;// Result: Run Time Command //whatIs TextureViewWindow;// Result: Run Time Command //On Thu, Aug 14, 2014 at 2:07 PM, likage <dissid...@gmail.com> wrote:
HI, if that is the case, there are a few commands that I have tried like cmds.GraphEditor() however I am unable to find any documentation on it despite that I am able to run it in the script editor. Tried incorporating it into my code, same problem as listed in my first post.
So can I just assume that it is having the same description as this Texture Editor?
On Wednesday, August 13, 2014 4:03:18 AM UTC+8, Justin Israel wrote:The cmds.TextureViewWindow() doesn't return anything. It only shows the singleton texture editor. The docs say only one can exist at any time:This would mean that if you were to embed it into your own UI, it would steal from anywhere else that is showing it, and likewise if anywhere else wanted to show it, your UI would lose the widget.
--
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.