Adverti horiz upsell

Notes 1.1.2 for Maya (maya script)

Add notes to your scene

License
Button download
483 Downloads

Compatibility

  • 2017, 2016

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:07/16/2017
Last Modified:08/21/2017
File Size: 7.39 KB

Keywords

todo, to, reminder

Bugs

Unable to use the script due to errors

Statuspending
Prioritymedium
Date09/13/2020
Submitted byAnDE42 AnDE42

import notes
notes.start()
# Error: TypeError: file C:/Users/USER1/Documents/maya/2020/scripts\notes.py line 199: 'PySide2.QtWidgets.QGridLayout.addWidget' called with wrong argument types:
PySide2.QtWidgets.QGridLayout.addWidget(QPushButton, int, int, int)
Supported signatures:
PySide2.QtWidgets.QGridLayout.addWidget(PySide2.QtWidgets.QWidget, int, int, PySide2.QtCore.Qt.Alignment=Default(Qt.Alignment))
PySide2.QtWidgets.QGridLayout.addWidget(PySide2.QtWidgets.QWidget, int, int, int, int, PySide2.QtCore.Qt.Alignment=Default(Qt.Alignment))
PySide2.QtWidgets.QGridLayout.addWidget(PySide2.QtWidgets.QWidget) #
select -r -ne defaultLightSet ;
select -r Notes ;

Comments on this bug:

  • AnDE42

    AnDE42 said about 4 years ago:

    I forgot to mention this. Maya Version: 2020
  • Tim Sormin

    Tim Sormin said about 1 year ago:

    I had the same problem just now, also on Maya 2020.

    I just editted the section that creates the two buttons at the bottom of the UI (because it can't download the icon any more and the grid formatting was causing errors due to not enough arguments) and it works now, just with text for the settings button instead of the gear wheel.

            settingsBtn = QtWidgets.QPushButton()
            settingsBtn.setText("Settings")
            settingsBtn.clicked.connect(settingsUI)
            self.layout.addWidget(settingsBtn, 1,0,1,1)
           
            updateBtn = QtWidgets.QPushButton()
            updateBtn.setText("Update")
            updateBtn.clicked.connect(self.updateNotes)
            self.layout.addWidget(updateBtn, 1,1,1,1)

Post a comment: