Hole creation with HoleWizard5 method

Hi,

I am suffering with a simple hole creation in SolidWorks API. I am trying to use the  "HoleWizard5" method with the following parameters but nothing happens.

Set swHoleFeature = swFeatMgr.HoleWizard5(swWzdHole, swStandardAnsiMetric, swStandardAnsiMetricDrillSizes, "O10.0", swEndCondThroughAll, 0.0101, 0, -1, 1, 0, 0,0, 0, 0, 0, -1, -1, -1, -1, -1, "", False, False, True, True, True, False). I have already tried to record the macro and run it with no success. Does anybody know which parameter should be changed to get it work?

Thanks for any help,

Laci

SolidworksApi macros