I am working to convert the 0.9x version of the Guilloche Contour extension to work with inkscape 1.x. I have edited the .inx file and fetched the arguments into the Python code, but I'm hung up in the following function.
Traceback (most recent call last): File "guilloche_contour.py", line 639, in <module> GuillocheContour().run() File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 131, in run self.save_raw(self.effect()) File "guilloche_contour.py", line 551, in effect self.prepareSelectionList() File "guilloche_contour.py", line 381, in prepareSelectionList self.expandGroupsUnlinkClones(self.skeletons, True, False) AttributeError: 'GuillocheContour' object has no attribute 'expandGroupsUnlinkClones'
I am working to convert the 0.9x version of the Guilloche Contour extension to work with inkscape 1.x. I have edited the .inx file and fetched the arguments into the Python code, but I'm hung up in the following function.
def prepareSelectionList(self):
self.skeletons = self.selected
self.expandGroupsUnlinkClones(self.skeletons, True, False)
self.objectsToPaths(self.skeletons)
I have changed self.selected to self.svg.selected to solve a first problem, but I can't find what to do about the error message:
-------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "guilloche_contour.py", line 639, in <module>
GuillocheContour().run()
File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 131, in run
self.save_raw(self.effect())
File "guilloche_contour.py", line 551, in effect
self.prepareSelectionList()
File "guilloche_contour.py", line 381, in prepareSelectionList
self.expandGroupsUnlinkClones(self.skeletons, True, False)
AttributeError: 'GuillocheContour' object has no attribute 'expandGroupsUnlinkClones'
--------------------------------------------------------------------------------------------------------------------------
If expandGroupsUnlinkClones still exists, how do I access it? If it is no longer supported, what replaces it? Other solution?
Any help appreciated, DrWiggly
.