Inventor 2021 - Detecting Helix Direction with iLogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I'm using Inventor 2021 and I’ve run into a problem where I need a logic or script that can determine the direction of a helix (spiral) in my part. I have a helix feature in my 3D model which can turn either clockwise or counterclockwise. The issue is that the direction varies, and unfortunately, the helix is difficult to see clearly in both the 3D model and the drawing view.
Currently, the workaround has been to manually add a text note on the drawing specifying the helix direction. However, this method has proven unreliable. For example, if the Z-axis is inverted, a right-hand spiral might actually appear as a left-hand spiral depending on the orientation — leading to incorrect annotations.
What I really need is an automated solution. Ideally, I’d like an iLogic rule that checks the helix direction and automatically displays the correct direction (left-hand or right-hand) as a note on the drawing.
Is something like this even possible with iLogic or any API in Inventor? And if so, how would one go about implementing it?
Thanks in advance for any advice or code examples!
This is the view in the drawing (not good).:
Additional notice in the drawing.:
However, the hint is error-prone and not dependent on the 3d model. One moment of carelessness and errors happen. Currently I have 6 different symbols for the spiral as a drawing template (yes, there are only right or left, but there are also different notes in the text). The most important thing is that the corresponding drawing checks in which direction the spiral goes.