2

enter image description here

How to add a CADInput (Advanced Digitizing Panel) to the plugin to click when we want to show us an Advanced Digitizing Panel(because I'm trying to make my toolbar), is there any chance to do this?

1
  • I solved this, self.Action=[self.iface.viewMenu().actions()[25].menu().actions()[7]] Apr 27, 2018 at 13:20

1 Answer 1

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 and acknowledge you have read our privacy policy.

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