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: 

Control the angle of a HoleThreadNote leader?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
clutsa
393 Views, 2 Replies

Control the angle of a HoleThreadNote leader?

Is there an API access to control the angle of a hole thread note leader? I can move the text.origin but I end up with this...

HoleThreadNoteLeader1.PNG

When I want this.

HoleThreadNoteLeader2.PNG

I tried messing with the DimensionLine.PutLineSegmentData only to realize it's read only.

If I've helped you, please help me by supporting this idea.
Mass Override for Each Model State
2 REPLIES 2
Message 2 of 3
JamieVJohnson2
in reply to: clutsa

Unfortunately I am able to confirm this issue.  There is no method short of deleting and recreating the radial dimension that will allow for changing its: DimensionLine object property (which is obviously a LineSegment object), or Intent (geometry intent).  While I can assign a variable of type LineSegment and change its values, nothing changes the original DimensionLine properties of the HoleThreadNote (or Radius Dimension, as they have a similar structure).  At one time, when Visual Studio did respond that the DimensionLine properties had returned changed values, the HoleThreadNote did not move, and a second query of the HoleThreadNote properties showed no changes.

 

jvj
Message 3 of 3

@clutsa,

 

Unfortunately, there is no Inventor API to get leader of HoleThreadNote. Please log this wish list at idea station using below link.

 

https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



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

Post to forums  

Technology Administrators


Autodesk Design & Make Report