Inventor API for enabling Text Border on text

Inventor API for enabling Text Border on text

pockyti
Contributor Contributor
561 Views
2 Replies
Message 1 of 3

Inventor API for enabling Text Border on text

pockyti
Contributor
Contributor

After extensive searching and trial and error, I don't think there's a way in Inventor 2019 or 2020 to turn on or off the text border on general text (In my case, a leader note, but I think if there were a way you could do it with most text.)

 

I haven't found anything, I'd just like a definitive answer before I give up. At this point I'm looking at pre-selecting the text that needs the border and using 

oCommandMgr.ControlDefinitions.Item("DrawingGeneralNoteEditCtxCmd")

and then emulating keyboard events in VB.Net so that the user doesn't have to do it manually. Are there better ways that I'm just missing? I've looked at layers, styles, all the methods of the text and leader objects I could find, but maybe I'm just missing something.

 

Thanks.

0 Likes
Accepted solutions (2)
562 Views
2 Replies
Replies (2)
Message 2 of 3

chandra.shekar.g
Autodesk Support
Autodesk Support
Accepted solution

@pockyti ,

 

At present, there is no Inventor API to disable/enable border for general note in drawing document.

 

Text_Border_API.png

 

Please log a 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



0 Likes
Message 3 of 3

pockyti
Contributor
Contributor
Accepted solution

Done, thank you.

 

If anyone finds this thread and would like to vote for this addition, please see here:

 

https://forums.autodesk.com/t5/inventor-ideas/border-around-text-enable-disable-in-api/idi-p/9249389

0 Likes