Rectangular Balloon Override doesn't work

Rectangular Balloon Override doesn't work

NSBowser
Advocate Advocate
676 Views
4 Replies
Message 1 of 5

Rectangular Balloon Override doesn't work

NSBowser
Advocate
Advocate

When attempting to override a balloon style with the API, I would like to create a rectangular balloon (as is possible with the manual balloon edit options) using the following process:

   oBalloon.SetBalloonType(kRectangleBalloonType) ' or 48135

However, doing so creates a balloon with a triangular frame, which isn't even one of the listed options.

To check the values of the enum, I created a box balloon manually, and used the following code, which did return 48135:

   oBalloon.GetBalloonType(balloonType, data)

  

Any thoughts on what is wrong? 

It appears to be a problem with the API, so I'm not even sure there is a work around possible...


Best of Luck

---------------------------------------------------------------------------------------------------------------------------------
If you find this reply helpful or insightful, please use the 'Accept as Solution' or 'Kudos' button below.
0 Likes
677 Views
4 Replies
Replies (4)
Message 2 of 5

philip1009
Advisor
Advisor

That does look like a glitch with the API, the API guide for this has values from 48129-48135, maybe using one of the other numbers or balloon types might get you the result you want.  It is weird you'd get a triangle, usually that shape is used for revision notation.  Unless you have a need to have different shaped balloons in your drawings, you can change the balloon shape in the Styles Editor.

0 Likes
Message 3 of 5

johnster100
Collaborator
Collaborator

is this fixed in inventor 2019?

the other numbers you suggest didn't work for me.

 

thanks,

John

 

0 Likes
Message 4 of 5

mat_hijs
Collaborator
Collaborator

This still seems to be an issue in Inventor 2024. @johnsonshiue Could you have a look at this so it could get fixed?

0 Likes
Message 5 of 5

bradeneuropeArthur
Mentor
Mentor

In the i-logic it is not listed and that is weird:

bradeneuropeArthur_0-1703364420674.png

 

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

0 Likes