Text Border Help

Text Border Help

robertast
Collaborator Collaborator
6,579 Views
49 Replies
Message 1 of 50

Text Border Help

robertast
Collaborator
Collaborator

@chandra.shekar.g, @johnsonshiue , @DannyHubbard , @CGBenner 

 

Dear professionals, who have access to the "Record Macro" button. Write and share "Text Border" macros.
After all, it did not come from heaven. Much needed, please help 🙏

 

Text Border.jpg

You really have that opportunity or you know someone who can do it. Thank you in advance 🍾

6,580 Views
49 Replies
Replies (49)
Message 21 of 50

mslosar
Advisor
Advisor

What they are saying is that, in order be able to do that in code, or ilogic, that Autodesk has to publish that feature to the SDK for people to make use of. In the case of the border, they have not made that available for public use so there's nothing you can do short of drawing a sketch box around your text after the fact which is not the same thing.

 

There are other things they haven't published the SDK as well, at least last I checked - the weld symbol is one of those things.

 

So, doing that in vba/ilogic/whatever is actually a feature request, not something they can just 'do' for you.

Message 22 of 50

mslosar
Advisor
Advisor

Actually, looking here: http://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-9F10A3CD-7430-4162-B5B0-1DE1E749358D

 

implies that using ShowBoundaries would turn it on.  Unless there's a different text box it's referencing.

Message 23 of 50

robertast
Collaborator
Collaborator

@mslosar   @CGBenner

Yes it will turn on, but "TextBox" needs to turn on "GeneralNotes". And with GeneralNotes, that doesn’t work.😔
I understand that to run through from iLogic Autodesk need to enable this. But to work through VBA you only need the code written in the text Basic language. Am I wrong?

0 Likes
Message 24 of 50

robertast
Collaborator
Collaborator

@bradeneuropeArthur 

This "Miraculous" button is not only available in Excel, but also in other programs...

Video added here

https://forums.autodesk.com/t5/inventor-ideas/prompter-for-programming-ilogic/idc-p/9701561#M39997 

 

Message 25 of 50

mslosar
Advisor
Advisor
Accepted solution

yes.  Autodesk has to put that feature in the SDK/API for it to be available in VBA and/or Visual Studio. You don't get access to 100% of the source just because you have VS. You only get what they allow.  For whatever reason, it would appear what you're after isn't in there.

Message 26 of 50

CGBenner
Community Manager
Community Manager

@robertast 

 

I think that the best suggestion, right now, is to add an Idea to the Idea Forum, asking the Inventor product team to add this to the SDK/API so that you can make use of it.  Another option would be to apply to join the Inventor Beta, so that you can discuss this with the product team directly.  

 

Good luck.

Did you find a post helpful? Then feel free to give likes to these posts!
Did your question get successfully answered? Then just click on the 'Accept solution' button.  Thanks and Enjoy!


Chris Benner
Community Manager

Message 27 of 50

robertast
Collaborator
Collaborator

@bradeneuropeArthur 

For someone who speaks better English, create an idea topic on that topic.

I will join the discussion

0 Likes
Message 28 of 50

bradeneuropeArthur
Mentor
Mentor

I will do that for you next week anywhere.

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 29 of 50

robertast
Collaborator
Collaborator
Accepted solution
Message 30 of 50

YuhanZhang
Autodesk
Autodesk
Accepted solution

If you are going to use Inventor API to create the GeneralNote or LeaderNote with Text Border, currently we don't have this property to set it via API, I logged this as INVGEN-44833, you can provide this number to query its status. 



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

Message 31 of 50

robertast
Collaborator
Collaborator

@YuhanZhang 

Thank you very much, on behalf of all users. 🤝

But write where I can track the status based on that number.

0 Likes
Message 32 of 50

YuhanZhang
Autodesk
Autodesk

You can just reply this post and provide the number here.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 33 of 50

robertast
Collaborator
Collaborator

@YuhanZhang  написал (-а):

You can just reply this post and provide the number here.


Don’t worry about my lack of knowledge. I did not understand anything. To find out the status of this topic, I need to write a message here with this number?

0 Likes
Message 34 of 50

YuhanZhang
Autodesk
Autodesk

Yes, you can  query its status here with providing the number, we will be informed and reply here. If you are ADN(Autodesk Developer Network) members you can also provide the number to your ADN specialist to query its status. 



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

Message 35 of 50

robertast
Collaborator
Collaborator

Hello @YuhanZhang , you said that I can ask here to find out at what stage your zadetas update INVGEN-44833

0 Likes
Message 36 of 50

YuhanZhang
Autodesk
Autodesk

This is in our backlog but still not fixed yet. Is this critical issue to you? Can you provide your business case that can help us to escalate it?



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 37 of 50

robertast
Collaborator
Collaborator

@YuhanZhang 

Here I was helped to automate my day to day task. But we could not do this to the end, since the text should turn out in a frame, and in iLogic there is no such possibility. I thought it would be an easy task for the autodesk to correct this flaw, but it turned out….

Message 38 of 50

YuhanZhang
Autodesk
Autodesk

I understand it may not be big task, we  need to estimate all the stories in our backlog, I can't guarantee when it can be implemented. If your data that requires the border around text are not too many, can you currently try to use a TextBox instead of the DrawingNote? You need to create a DrawingSketch and create a TextBox, then create a sketch rectangle to be around of the TextBox, then you can see the similar effect. Like below:

 

YuhanZhang_0-1605166901042.png

 



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

Message 39 of 50

robertast
Collaborator
Collaborator

It has been more than a year since you promised to solve the problem. When can a fix be expected?

0 Likes
Message 40 of 50

YuhanZhang
Autodesk
Autodesk

Please login the Beta Forum(https://feedback.autodesk.com/) and find the Inventor project, and try the Inventor 2023(R27) Alpha/Beta build when they are available.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes