Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help retrieving diameter of Tapped and Taper Tapped Holes in Inventor part files using C#

1 REPLY 1
Reply
Message 1 of 2
vishnu_gaddime
122 Views, 1 Reply

Need help retrieving diameter of Tapped and Taper Tapped Holes in Inventor part files using C#

I'm currently working on a project where I need to retrieve the diameter of holes from Inventor part files using C#. So far, I've been able to successfully retrieve the diameter of simple and clearance holes using the API. However, I'm facing difficulties in obtaining the diameter of tapped and taper tapped holes.

1 REPLY 1
Message 2 of 2
nmunro
in reply to: vishnu_gaddime

In the HoleFeature object, you can check the Tapped property to see if it is a tapped hole. If so, get the TapInfo property to get all the information on the tapped hole, including a variety of associated diameters. A view of the available information is below.

 

nmunro_0-1707587666383.png

 

        


https://c3mcad.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report