Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
ianteneth
in reply to: JhoelForshav

Hi! Thanks for the reply! I tested your code snippet quickly and it works in iLogic. If I can test this in my C# application I think it will do what I need. However, as you can see in the images below, neither Inventor's iLogic editor nor the Inventor API help shows Direction as a property of the HoleFeature.Extent object. I am not sure why iLogic can still run the code if the Direction property isn't public on the API though? Maybe this is an API issue?

 

The first image show code in the iLogic editor. The second image is from the Inventor API help section that ships with Inventor. These images are from Inventor 2020.Capture2.JPG

 

Capture.JPG