Hi,
I try to access the tolerances of dowel holes created with Hole Wizard, but can't find any property of it in WizardHoleFeatureData2. Any ideas where I can get them from? I want to color the features according to their tolerance.
Function handleholewizard(feature As SldWorks.feature)
Dim swWHFD As SldWorks.WizardHoleFeatureData2
'lg "Hole Wizard"
Set swWHFD = feature.GetDefinition
'lg swWHFD.FastenerType2
Select Case swWHFD.FastenerType2
Case swStandardAnsiInchDowelHole, _
swStandardAnsiMetricDowelHole, _
swStandardDINDowelHole, _
swStandardISODowelHole
lg "dowel hole"
' which tolerance?
setfeaturecolor swDoc, feature, fitcolor
Exit Function
...