0

There is a similar question Access QGIS Topology Checker from Python, however this user was wanting to run the topology tool while I want to import certain rules. For example in arcgis

arcpy.AddRuleToTopology_management(for_validation, "Must Not Self-Overlap (Line)", nfc)

I saw this question about accessing qgis plugins from python. So I know I need to import the module, but I'm unsure the name of the module, or if it is written in C++ so importing into python directly is not possible.

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Mary Johnson
  • 495
  • 3
  • 12

1 Answers1

1

Unfortunately it's not possible (as of 3.0) - that functionality isn't exposed to the python bindings.

ndawson
  • 27,620
  • 3
  • 61
  • 85