Draw Thread Annotation With Ilogic

Draw Thread Annotation With Ilogic

Stephane_Hemberger
Participant Participant
174 Views
1 Reply
Message 1 of 2

Draw Thread Annotation With Ilogic

Stephane_Hemberger
Participant
Participant

Hello everyone,

I've already found several posts from people looking for a way to add thread notes using iLogic to automate drawings. However, I’m struggling to apply it to my situation. They all select the edge manually, but I would like to define the edges automatically where the note should be linked.

I would like to add the thread information in a detail view of a section view. Here’s the current state without the thread note:

Forum_Inventor.PNG

I am currently trying to select the edges and apply the thread note using a GeometryIntent of the internal surface of the hole, but so far without success.

Has anyone already resolved a similar issue?

Thank you in advance for any feedback.

Best regards,
Stéphane Hemberger



0 Likes
175 Views
1 Reply
Reply (1)
Message 2 of 2

Ralf_Krieg
Advisor
Advisor

Hello

 

I would try to step through the DrawingCurves enumerator in this view in a loop. Then check for every drawingcurve the EdgeType property if it's kThreadEdge. If so, the DrawingCurve is part of the ThreadFeature and you can use it HoleOrThreadEdge-Argument. Or you can create a GeometryIntent at any point on the DrawingCurve to have better control where the leader is positioned. The position of the HoleThreadNote is a bit more difficult to define. You can use the border coordinates of the detail view to get a point outside the view. I have no clue on how to avoid colliding with other dimensions.


R. Krieg
RKW Solutions
www.rkw-solutions.com