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 changing position of HoleThreadNote arrowhead

0 REPLIES 0
Reply
Message 1 of 1
wood.isbell
224 Views, 0 Replies

Need help changing position of HoleThreadNote arrowhead

I have my drawings placing all of the correct hole notes using my default style, but I have a small nitpick that I am hoping someone else has run into and found a solution for. When using the following code to create a hole thread note, I am only able to provide the position for the text and the curve (circle in this case). The problem comes from the API selecting the first segment (in this case the bottom) for my arrowhead placement.

 

'oSheet is my sheet, oHoleText is my Point2d, oCurve is my DrawingCurve
oSheet.DrawingNotes.HoleThreadNotes.Add(oHoleText, oCurve)

The result is an arrowhead on the opposite side of the hole from where I want it. Is there a way to specify the segment I want the leader attached to?

 

Here is a picture example: (left is what I want, right is what my code provides)

http://www.dumpt.com/img/links.php?file=2yylux0i8sai6yh5ynne.jpg

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report