Hi All,
I amtryingto make 2 holes on a rectangular plate at some distance .
1) First i tried by taking the hole wizard andselecting thepoint on one face and then dimensioning it (usingsmart dimension). For this the macro read
Part.FeatureManager.HoleWizard2 2, 1, 39, "Ø18.0",0,0.018, 0.01, 1, 2.059488517353, 0, 0, 0, 0, 0, -1, -1, -1, -1,-1,"", False, 1, 1, 1, 1
But this is neither showing which face i want the holes orthedimensions i provided for the hole......
2) Secondly i made one point on the PLANE where iwanted thehole and constrained it and pointed the Hole Wizardpointer to thatpoint . But this one showed me a warning
" Points to locate holes are not valid . They may notbeconstrained or may be located on edges or vertices"
How can i make the hole with appropriate dimensions and onaparticular face ....
Please help me in this ....
Thanks
SolidworksApi macros







I amtryingto make 2 holes on a rectangular plate at some distance .
1) First i tried by taking the hole wizard andselecting thepoint on one face and then dimensioning it (usingsmart dimension). For this the macro read
Part.FeatureManager.HoleWizard2 2, 1, 39, "Ø18.0",0,0.018, 0.01, 1, 2.059488517353, 0, 0, 0, 0, 0, -1, -1, -1, -1,-1,"", False, 1, 1, 1, 1
But this is neither showing which face i want the holes orthedimensions i provided for the hole......
2) Secondly i made one point on the PLANE where iwanted thehole and constrained it and pointed the Hole Wizardpointer to thatpoint . But this one showed me a warning
" Points to locate holes are not valid . They may notbeconstrained or may be located on edges or vertices"
How can i make the hole with appropriate dimensions and onaparticular face ....
Please help me in this ....
Thanks
SolidworksApi macros