When and which to use the different layouts

23 views
Skip to first unread message

likage

unread,
Jul 22, 2014, 10:41:16 PM7/22/14
to python_in...@googlegroups.com


This is somewhat off-topic but could anyone kindly point me or enlighten me about the types of layouts?

I am trying to create a custom ui window in which it uses tabLayouts to navigate, each tabs consisting of a different panel?, such as outliner, hypergraph.
All in all, it is similar to this thread - https://groups.google.com/forum/#!searchin/python_inside_maya/tablayout/python_inside_maya/ys2TtlhObV4/Gkov6LtgC3YJ

But currently I am at a lost of the layouts that can be used. I am saying this, for example, I have found the command in which I can grab ahold of the graphEditor, but since I am using tabLayout and formLayout, I am having problems mapping the graphEditor onto this custom window ui I have made. Either I keep getting errors, or it works, only for the graphEditor and not for all other functions that I have created earlier (my ui was not displayed)

Is there any tutorials etc that I can learn for it? Right now, I am pretty much, blindly doing a trial and error testing without really knowing which is right or wrong...

Justin Israel

unread,
Jul 22, 2014, 10:50:18 PM7/22/14
to python_in...@googlegroups.com
Unfortunately working with the native Maya UI is inherently a clunky process. I am not much of a fan of the process involved in defining the layouts. The only real resource I have really used in my experience is just looking at the "Layouts" section of the cmds docs, and reading and testing the full examples they give at the bottom of each one:




--
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/85faf25b-c899-417e-8042-c67f09839415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

likage

unread,
Jul 22, 2014, 10:59:18 PM7/22/14
to python_in...@googlegroups.com
I see. However are there any beginner tutorial perhaps?

Such as which is the parent of parent etc, when combining the usage of different usages?


On Wednesday, July 23, 2014 10:50:18 AM UTC+8, Justin Israel wrote:
Unfortunately working with the native Maya UI is inherently a clunky process. I am not much of a fan of the process involved in defining the layouts. The only real resource I have really used in my experience is just looking at the "Layouts" section of the cmds docs, and reading and testing the full examples they give at the bottom of each one:


On Wed, Jul 23, 2014 at 2:41 PM, likage <dissid...@gmail.com> wrote:


This is somewhat off-topic but could anyone kindly point me or enlighten me about the types of layouts?

I am trying to create a custom ui window in which it uses tabLayouts to navigate, each tabs consisting of a different panel?, such as outliner, hypergraph.
All in all, it is similar to this thread - https://groups.google.com/forum/#!searchin/python_inside_maya/tablayout/python_inside_maya/ys2TtlhObV4/Gkov6LtgC3YJ

But currently I am at a lost of the layouts that can be used. I am saying this, for example, I have found the command in which I can grab ahold of the graphEditor, but since I am using tabLayout and formLayout, I am having problems mapping the graphEditor onto this custom window ui I have made. Either I keep getting errors, or it works, only for the graphEditor and not for all other functions that I have created earlier (my ui was not displayed)

Is there any tutorials etc that I can learn for it? Right now, I am pretty much, blindly doing a trial and error testing without really knowing which is right or wrong...

--
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.

Justin Israel

unread,
Jul 22, 2014, 11:43:49 PM7/22/14
to python_in...@googlegroups.com
On Wed, Jul 23, 2014 at 2:59 PM, likage <dissid...@gmail.com> wrote:
I see. However are there any beginner tutorial perhaps?

Not sure about any extensive native Maya UI tutorials, other than just searching around for examples
 

Such as which is the parent of parent etc, when combining the usage of different usages?


I didn't really understand this part. Are you referring to better understanding the parent child relationship when you are creating things linearly like: a layout, then an optionMenu, and then multiple menuItems?
 
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/66b331ab-8a46-421e-8be3-ea247cad8c22%40googlegroups.com.

likage

unread,
Jul 23, 2014, 12:27:07 AM7/23/14
to python_in...@googlegroups.com
The parent-child is somewhat like what you have mentioned, I guess.

While I was googling around, I found this thread http://tech-artists.org/forum/showthread.php?3117-MAYA-Python-formLayout-%28attachControl%29-broken in which the users are talking about the parentage so I guess it will be more like the workflow such as which should comes first before this code/layout is to be implemented next


On Wednesday, July 23, 2014 11:43:49 AM UTC+8, Justin Israel wrote:
On Wed, Jul 23, 2014 at 2:59 PM, likage <dissid...@gmail.com> wrote:
I see. However are there any beginner tutorial perhaps?

Not sure about any extensive native Maya UI tutorials, other than just searching around for examples
 

Such as which is the parent of parent etc, when combining the usage of different usages?


I didn't really understand this part. Are you referring to better understanding the parent child relationship when you are creating things linearly like: a layout, then an optionMenu, and then multiple menuItems?
 

On Wednesday, July 23, 2014 10:50:18 AM UTC+8, Justin Israel wrote:
Unfortunately working with the native Maya UI is inherently a clunky process. I am not much of a fan of the process involved in defining the layouts. The only real resource I have really used in my experience is just looking at the "Layouts" section of the cmds docs, and reading and testing the full examples they give at the bottom of each one:


On Wed, Jul 23, 2014 at 2:41 PM, likage <dissid...@gmail.com> wrote:


This is somewhat off-topic but could anyone kindly point me or enlighten me about the types of layouts?

I am trying to create a custom ui window in which it uses tabLayouts to navigate, each tabs consisting of a different panel?, such as outliner, hypergraph.
All in all, it is similar to this thread - https://groups.google.com/forum/#!searchin/python_inside_maya/tablayout/python_inside_maya/ys2TtlhObV4/Gkov6LtgC3YJ

But currently I am at a lost of the layouts that can be used. I am saying this, for example, I have found the command in which I can grab ahold of the graphEditor, but since I am using tabLayout and formLayout, I am having problems mapping the graphEditor onto this custom window ui I have made. Either I keep getting errors, or it works, only for the graphEditor and not for all other functions that I have created earlier (my ui was not displayed)

Is there any tutorials etc that I can learn for it? Right now, I am pretty much, blindly doing a trial and error testing without really knowing which is right or wrong...

--
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+unsubscribe@googlegroups.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_maya+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages