Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

hx
Advocate
343 Vistas, 1 Respuesta

Using FeatureCAM.FMHole to setting the diameter and Depth

I am writting an exe file to get the all hole features, and change it's diameter and depth if there are not my want.

 

the code i wrote:

 

Dim docHole As FeatureCAM.FMHole = docFeatrue
If Not (docHole.Diameter = feature.Diameter) Then
  docHole.SetAttribute( attr_id, sub_id, feature.Diameter)
End If

 

here is the enumerate attr_id and sub_id.

can somebody give me help, and write an example for me?