Option 1: Through VB code read the filename and parse it and then set it to the parameters d0,d1,d2 and update. autodesk.inventor.customization group could provide more help here.
Option 2: You might be knowing this already you can create an iPart with d0,d1,d2 as columns and then create keys for them and then see if that works out. You could add rows for as many variations as possible. This does create files though.
For those of you who are curious how Teun did it he used Option 1. When you open the IPT file attached by Teun go to Tools, Macro, Visual Basic Editor to see the script that will be run when the file is opened. Nice job Teun. Thanks.