Got you. Indeed, GFig is one hummongous source file. I wanted to use it to generate some bar and pie charts. But just playing with Gimp's selector tools seem to do the trick just as well. Thanks for the tip. Vio * Sven Neumann <sven@xxxxxxxx> [020312 05:09]: > Hi, > > vio <vmilitaru@xxxxxxxxxxxx> writes: > > > Hi, > > Could someone post some links or examples on scripting GFig, please. I mean, > > I know how to call the plug-in from a script: > > python> pdb.plug_in_gfig(image, drawable,dummy) > > > > but then how do I pass commands to gfig, say, to draw a shape which is not > > included in its catalog? Or even one which is part of the gfig catalog? > > My first guess would be to create a shape description file in ~/gimp/gfig. > > But then how is gfig instructed to load and process that shape? > > you don't. GFig doesn't support any PDB control. If you want to script > GFig, you'd have to add scripting support to it. This is something you > definitely don't want to try. Once you have you seen the source you'll > understand why. > > > Salut, Sven