Message 1 of 2
python - creating a button that can select an object/locator in the scene
Not applicable
12-09-2018
01:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Guys,
I'm completely new to python and pretty new to Maya and reqire some help.
Using python in maya i've managed to create a UI with a button and a text field next to it.
The intended purpose of the button is to be able to "click it" and then select an object/locator in the scene to get/store it's transform infomation for use later in the script.
The purpose of the textfield is to state the name of the object that has been selected.
If someone could show/provide the code for doing this that would be very much appreciated
thanks in advance