1

enter image description hereHow to add a CADInput(Advanced Digitizing Panel) to plugin to click when we want to show us a Advanced Digitizing Panel(because I'm trying to make my own toolbar), is any chance to do this?

  • I solved this, self.Action=[self.iface.viewMenu().actions()[25].menu().actions()[7]] – Anel Hasić Apr 27 '18 at 13:20
0

You can use that:

if self._iface.advancedDigitizeToolBar().isVisible():
    self._iface.advancedDigitizeToolBar().hide()
else:
    self._iface.advancedDigitizeToolBar().show()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.