Ballooning in drawings and the setup of the BOM

Ballooning in drawings and the setup of the BOM

RichardErnstberger
Enthusiast Enthusiast
220 Views
3 Replies
Message 1 of 4

Ballooning in drawings and the setup of the BOM

RichardErnstberger
Enthusiast
Enthusiast

Hello all,
i would like to ask 2 questions about ballooning in drawings and the setup of the BOM.
 
For info: I'm working with Inventor 2020.
 
Question 1:
Every time when i start creating balloons in a drawing i get the naging dialog "BOM properties" to set the BOM view (image attached).
Because i regularly need the PartsOnly-view i would like to have it as a preset, while at the start of the dialog always the structured view is the dafault.
Is there a way to make the Partsonly-view the default and make it active?


I have tried to use put_PartsOnlyViewEnabled with argument VARIANT_TRUE on the AssemblyBOM object of the assembly the drawing is created from prior to create the first View.
But this does not change anything, the naging dialog appears again when i start ballooning.

Even whe I set the structured view to deactivated by calling put_StructuredViewEnabled(VARIANT_FALSE) it is still the default value when the dialog opens.
Is there another place where this setting is stored?
Probably on Sheet-level or at View-level in the .idw.

 
Question 2:
Another point I have noticed is about the pDrawingBOMs->IsDrawingBOMDefined() query in the drawing sheet.
Even if there are views as well as balloons and parts lists on the sheet, the return value of this query is always VARIANT_FALSE.
Is this a bug in the Inventor-API or do i misunderstand something?
 

Thanks is advance for any information on these questions.

Kind regards,
Richard Ernstberger

0 Likes
221 Views
3 Replies
Replies (3)
Message 2 of 4

A.Acheson
Mentor
Mentor

Hi @RichardErnstberger 

For item 1 is the partlsist present on the sheet before ballooning begins? This is the first step before setting the structure. I don't believe there is any way to change the defaults of the dialog box. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
Message 3 of 4

RichardErnstberger
Enthusiast
Enthusiast

Hi Alan,

thank you for the answer.

It gave me a push in the right direction.

In my daily work i have to spread my drawing views across 3 to 5 sheets (based on the same assembly file).

So far i assumed that it is enough to have the partslist on the first sheet and it will be o.k.

But obviously the partslist is required for every sheet to preset the Partsonly view for ballooning.

 

Whats rather bad is that there's no way to make this preset anywhere in the API, instead the designer has to set it manually (and must not forget so switch to the rigth setting).

 

So my first question is not answered in terms of a solution.

But so far i understand the concept of Inventor and must accept that i have no chance to make a preset be th API.

 

For my planned project it is even more limiting to have question 2 also unanswered.

With the inability to get the pDrawingBOMs->IsDrawingBOMDefined() status i must stop at this point.

Eventually i can try to look at the sheet for parstlists and  can identify the selected BOM view based on the found items.

 

I will post if i get any further.

 

Thank you,

Richard

0 Likes
Message 4 of 4

GosponZ
Collaborator
Collaborator

That assembly or subassembly save as Part Number-Bom or something . Not save copy as. Then you can access your parts list as Parts only. I'm using on daily base and it is working just perfect. Whatever you change on original it will change on clone. Very simple and effective.  

0 Likes