When trying to create a QgsSvgMarkerSymbolLayerV2 in the python console in QGIS, i get the following error:
Traceback (most recent call last): File "", line 1, in NameError: name 'QgsSvgMarkerSymbolLayerV2' is not defined
The first command i executed in the python console was
from qgis.core import *
After that
svgmarker = QgsSvgMarkerSymbolLayerV2()
What do i have to import to create a QgsSvgMarkerSymbolLayerV2 symbol layer?
The main purpose is to create a QgsCategorizedSymbolRendererV2 for a vector layer.
Is there a python example to this?
Is there a way to see what classes is exposed in the PyQGis API?
Is there a way to see with what version of the QGIS PyGis is linked to?
Regards Theuns Heydenrych