Skip to main content
Sanaa Ben's user avatar
Sanaa Ben's user avatar
Sanaa Ben's user avatar
Sanaa Ben
  • Member for 1 year, 10 months
  • Last seen more than a month ago
Loading…
comment
AttributeError when modifying vector layer symbology with PyQGIS
Thank you @Kadir for tour help , it's guide me getter to identify the problem with my code . I still have one question : How to change renderer type from Rule-based to single symbol? Or how to directly change the symbology of a Rule-bases
comment
AttributeError when modifying vector layer symbology with PyQGIS
Thank you for tour answer, but when i run tour code it gives me this errer: AttributeError: 'QgsRuleBasedRenderer' object has no attribute 'setSymbol' And every time i try to change it ,like instead of setsymbol i write only symbol . Sometimes this error ut shows up with renderer.
Loading…