Discussion:
[Maya-Python] making a radiobutton menu
j***@gmail.com
2018-09-24 04:54:52 UTC
Permalink
I'm trying to build a tool that does 2 different things to an object. I am trying to make a UI where if the use selects a radiobutton it will give different options, kind of like how in convert nurbs to poly window, you get different options when toggling the tesselation method. I'm sorry if this is confusing. Thank you
--
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/55b92d20-3ff8-4e0a-968f-b39ab1eda1e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Justin Israel
2018-09-24 07:09:59 UTC
Permalink
Post by j***@gmail.com
I'm trying to build a tool that does 2 different things to an object. I am
trying to make a UI where if the use selects a radiobutton it will give
different options, kind of like how in convert nurbs to poly window, you
get different options when toggling the tesselation method. I'm sorry if
this is confusing. Thank you
Hi. Do you have a specific question? If you are stuck on your attempt to
create a radiobutton, can you show what you have tried and specifically
where you are hitting an issue?
Post by j***@gmail.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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/55b92d20-3ff8-4e0a-968f-b39ab1eda1e3%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_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA02-OUaS0SeVvs%2BxRY4q1p7s-%3Dspsf%2B01tkhws1cV2ejA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
James Kim
2018-09-24 08:04:06 UTC
Permalink
I wanted to know how to make it so clicking a radiobutton will give you
different options. like this

[image: maya ui menu.jpg]
right now im using radioButtonGrp but all i can find are popups.
Post by Justin Israel
Post by j***@gmail.com
I'm trying to build a tool that does 2 different things to an object. I
am trying to make a UI where if the use selects a radiobutton it will give
different options, kind of like how in convert nurbs to poly window, you
get different options when toggling the tesselation method. I'm sorry if
this is confusing. Thank you
Hi. Do you have a specific question? If you are stuck on your attempt to
create a radiobutton, can you show what you have tried and specifically
where you are hitting an issue?
Post by j***@gmail.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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/55b92d20-3ff8-4e0a-968f-b39ab1eda1e3%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_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1ccf1002-e5b4-4aa0-aa5c-d3d93617e1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Justin Israel
2018-09-24 09:24:09 UTC
Permalink
Post by James Kim
I wanted to know how to make it so clicking a radiobutton will give you
different options. like this
[image: maya ui menu.jpg]
right now im using radioButtonGrp but all i can find are popups.
Thanks for clarifying.

I don't have any code on hand to share, but the general idea is that you
hook either the changeCommands or onCommands of your radioButtonGrp to a
function that will rebuild another set of controls in a layout. You can
either do this by deleting the previous layout and rebuilding the desired
controls for the selected option, or you can create each layout upfront,
all at once, and set only one of them visible at a time.

Let me know if that is enough to get you going. Maybe someone has time for
an example or I can try and knock something together tomorrow.

Justin
Post by James Kim
Post by Justin Israel
Post by j***@gmail.com
I'm trying to build a tool that does 2 different things to an object. I
am trying to make a UI where if the use selects a radiobutton it will give
different options, kind of like how in convert nurbs to poly window, you
get different options when toggling the tesselation method. I'm sorry if
this is confusing. Thank you
Hi. Do you have a specific question? If you are stuck on your attempt to
create a radiobutton, can you show what you have tried and specifically
where you are hitting an issue?
Post by j***@gmail.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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/55b92d20-3ff8-4e0a-968f-b39ab1eda1e3%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
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/1ccf1002-e5b4-4aa0-aa5c-d3d93617e1e7%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/1ccf1002-e5b4-4aa0-aa5c-d3d93617e1e7%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3eeL%3DR9g12khqGCNq8ZXufTzp6NhBfo0AmUgMFy2H9Sg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Search results for '[Maya-Python] making a radiobutton menu' (Questions and Answers)
4
replies
designing a database?
started 2010-11-07 01:17:20 UTC
programming & design
Loading...