AnsweredAssumed Answered

HoleWizard Issue

Question asked by Andrew Powell on Sep 2, 2019

I have some code which draws a part and I want to include a series of holes.  The easiest way is using hole wizard.  When I create the API command I am selecting tapped hole (4),ANSI Inch (0) and bottom tapped hole (26) with all of the other relevent commands, however when ran it is producing a counterbore hole but claims theres an error.  When you edit the hole in the tree menu it reverts back to the tapped hole, however with some made up sizings.

 

Can anyone see where I may have gone wrong? any help is appreciated! 

 

'select the face
model.Extension.SelectByRay(0, 0, 0, 0, 0, -1, 0, 2, True, 1, 0)
'draw the hole
featureMgr.HoleWizard5(4, 0, 26, "7/16-14", 0, 0.0093472, 0.02767, 0.02223, 0, 0, 0, 0, 2.05948851735331, 1, 0, 0, 0, -1, -1, -1, "2B", False, True, True, True, True, False)

 

 

Outcomes