[Closed] Maxscript access to Sub-Object in motion panel
**
Unknown property: “QWIdget” in <module ‘PySide2.QtWidgets’
**
on this row —-> app = qt.QWIdget.find (pymxs.runtime.windows.getMAXHWND())
i dont know python((
hwnd_get = GetCommandPanelHWND()
dialog = windows.getChildrenHWND hwnd_get
UIAccessor.PressButton dialog[n][1]; print dialog[n][1]
i was try to bruteforce try click all ui elements. one by one. but also no result(
qws = python.import "PySide2.QtWidgets"
app = qws.QWidget.find (getMaxHWND())
cp = (app.findChildren qwidgets.QWidget "CommandPanel")[0]
bts = cp.findChildren qws.QPushButton
--bts[1].text()
bts[1].click()
work for sure in MAX 2020
it’s Qt now… the WinAPI (uiaccessor) methods don’t work anymore for this part of UI
I have poor knowlege in UI at all. so for me that was totally mind blowing)
Every tech artist needs to do three things in “life”:
- Develop a geometry plugin
- Design a rig
- Write a shader
… and three things as 2D tech artist:
- Make your own font
- Create an icon pack
- Design your own LOGO
I did only a couple of paid projects for all my scripting career. Tech Artist vacancies require too many skills that I wasn’t ever interested so I never happened to have a job in this field. It is just a hobby for many years already. Just like fishing…